This is my first Android app. I need to email what I have so far to someone for testing.
How should I do I export the app and attach it, so it is not being treated 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
In Android Studio build with "build"->"Build Bundle"->"Build APKs" which you'll find in the folder app/build/outputs/apk/debug
then.
You cannot attach the file in your email directly, since APKs are treated as junk by most email providers. So upload the apk somewhere and send the link to your co-worker.
If a link is not enough, with a simple trick, you can send the file anyway:
.bin
at the end of the filename (i.e. myApp.apk.bin).bin
file.apk
before installing. (On android renaming is possible with a file-manager, i.e. like Totalcommander)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.
The simple answer is it is very simple, Droid devices understand what an APK is. So, tell your friend to Check "Enable Unknown Sources" currently in Settings->Security (not Settings-> Applications as of now.) Then email them the APK. Upon receiving it, Droid will either get it installed, or they can download it to downloads, where they can also install it from. Accept the Permissions, and off you go.
I assume you are using Android Studio for application development.
Follow these steps:
Go to "build" from the navigation bar in Android Studio.
Go to "build bundle(s)/APK(s)" from the drop down that appears.
Click on "build APK(s)". You will get a notification box at the bottom right of your screen.
Click on "locate". Two files will appear. One is a ".json" file and one is an ".apk" file.
Send these files to your friends on WhatsApp and tell them to download the JSON file and install the APK file. Now your application is running.
You are done.
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.