My android app is not in the app store yet. Is it possible to send my app to someone, and they install it on their device. Something like iphone AdHoc?
Is it possible to send my app to someone, and they install it on their device
Yes, of course. You can share the APK with other people and they can install the application. It's not necessary for the app to be in the Market.
Yes. Upload it to a website or email the ".apk" file to your friend. Have your friend make sure that the option to allow for "Unknown Sources" on the device is checked (Settings > Applications > Unknown Sources). When your friend downloads the application on their device and clicks to run it, it will be installed and should appear in the applications menu ready to be executed.
You can email them your APK. Of course, there are several drawbacks to doing this.
There is not any built in copy protection to lock an APK to a single device so a tester could redistribute your application without your consent. This is something that you will need to deal with even once you are using Market to distribute your application. If you select "Copy Protection On", people will still be able to get at your APK as many people have rooted devices and all this option does is influence where the APK is installed. Google advises, "you may also implement your own copy protection scheme" and I think it's prudent.
Add the
READ_PHONE_STATE
permission to your manifest so you can retrieve the phone's IMEI, send to your server, and determine if a user should be allowed to run your application.TelephonyManager telephonyManager = (TelephonyManager)getSystemService(TELEPHONY_SERVICE); String imei = telephonyManager.getDeviceId();
Your testers will need to enable "Unknown sources" to allow install of non-Market applications.
Assuming your tester uses Google as their email provider, it is important to note that the Android GMail application doesn't handle APK attachments properly. While this might confuse the recipient of your email, there are easy work-arounds:
- Tell them to use the Browser app to download your attachment through the web interface.
- Have them download APKatcher first.