tags:

views:

190

answers:

5

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?

+5  A: 

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

zed_0xff
+2  A: 

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.

Janusz
+3  A: 

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

Amith GC
+2  A: 

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.

Ryan Conrad
+5  A: 

Much simpler method:

  1. Put the apk on your web server
  2. Create a QR Barcode image using: http://chart.apis.google.com/chart?cht=qr&chs=150x150&chld=H|1&chl=http://myserver/myapp.apk
  3. Then send him that barcode in an email and tell him to scan it using the barcode reader app.

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.

Brad Hein