It's my first Android app. I need to send what I have so far to someone for testing. It needs to be over e-mail.
How should I do it?
It's my first Android app. I need to send what I have so far to someone for testing. It needs to be over e-mail.
How should I do it?
compile/build your app, it should produce a file like myAppName.apk
, just send it via email to your friend
try to look in yourProjectPath/bin
folder
If you are using Eclipse run the app on the emulator to test it. Now Eclipse should have created a bin folder in your project folder. In this folder you will find an apk file that contains your app.
Just send this file to your friend via email. He know can install the file on the emulator if he has one running. If not he can just plugin his phone via usb move the file to the SD-Card remove the USB connection and then navigate to the file on his SD-Card with a file browser like ASTRO and select the, item now the application manager should show up and he can install the app. If this does not work he has to go to settings -> applications -> and enable unknown sources.
You can also right-click on your project (in eclipse) and click on export then select "Export Android Application" and give all the details... after you finish you will have a myAppName.apk, which you can email
Export Android Application would be the correct way to generate the apk. Using the one that eclipse uses has debugging info, plus it is signed with debug key, not an actual key. If you install an application signed with one key, and then later try to install an application (same package name) with a different key, you will first have to uninstall the original application first.
Much simpler method:
The barcode reader app will see the barcode and provide a hyperlink for the user to click. They click the link and the app downloads and installs.