How to Deploy Android Application to Beta Tester Devices

16,108

Solution 1

You can email them your APK. Of course, there are several drawbacks to doing this.

  1. 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();
    
  2. Your testers will need to enable "Unknown sources" to allow install of non-Market applications.

  3. 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.

Solution 2

Starting in May 2013, Google added Beta and Alpha programs to the Developer Console. You can now upload an APK to either channel and interested users (or users belonging to the specified Google+ Communities or Groups) can now get the application from the Market just like a regular app.

Users cannot provide public feedback so you have to provide them an alternative way to contact you.

At any given time, you can promote (or demote) an app to/from beta/alpha or even Production.

Here's how mine looks:

Google Developer Console

Solution 3

Effective beta apk distribution, getting crashes as well as feedback from early adopter is known problem in android community. To solve this problem we built a platform Zubhium for developers by developers.

  1. Just upload apk and email address of users whom you want to distribute beta , and click send. That's it . :)

Platform will invite users and keep a track of who, when and where downloaded, Also it will followup with users who downloaded beta for feedback. You can view , reply , communicate back with users from platform.

Optionally you can integrate crash reporting services to get crashes during beta. It will provide granular details like network, device info with exception details. It does bunch of other stuff also.

Have look at www.zubhium.com

Solution 4

There's already an accepted answer three years ago, but let me share a simpler way to deploy your app in present: DeployGate.

With DeployGate, you can deploy your app to your own (or your colleague's) device, in a matter of seconds. All you have to do is uploading your APK file, then send a link or scan a QR code (two-dimensional barcode) with the device. To update, just upload the app again then it will be pushed to all installed devices.

It's carefully designed to eliminate waste in your daily development. The agent app will guides you and/or your colleagues throughout the app installation process, so you can avoid almost all problems you might face, especially if they are non-tech guys. You can even shortcut typing email address and password to associate an account with your devices, just click a button shown on the browser instead. If you want, you can also catch app crashes with a single line of code integration. It magically works to help you keeping your focus on development.

Disclaimer: I'm working on this product. :)

Solution 5

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.

Share:
16,108

Related videos on Youtube

aryaxt
Author by

aryaxt

Updated on July 09, 2020

Comments

  • aryaxt
    aryaxt almost 4 years

    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?

  • jason
    jason about 14 years
    This may not be as obvious to some people that are familiar with say, the other mobile platform.
  • Vineet
    Vineet about 14 years
    It seems to me that using tying a user to a particular IMEI is a pretty heavy-handed limitation: for most (all?) other apps I've used, I've been able to continue to use the apps I had previously installed when, for whatever reason, I got a new phone. So if you're tracking IMEIs, at least be somewhat liberal about it; e.g. a user can have no more than 5 IMEIs using the app within some period of time, etc. This should be enough to prevent rampant piracy without unnecessarily inconveniencing your legitimate users.
  • Tim Kryger
    Tim Kryger about 14 years
    @Vineet I agree, once the application is in the Market you don't want your paying customers to lose your application just because they upgraded their phone. For beta testers, you may not need to be as generous.
  • aryaxt
    aryaxt about 14 years
    exactly, i am an iphone app developer, and this is my first android app, and believe me it took me a week to get Adhoc to wrok, to allow testers to install the app. This is a little too simple to be true :)
  • tmandry
    tmandry about 12 years
    Shameless plug perhaps, but I looked at this and I think it's exactly what the asker and myself am looking for. It is in beta but I'll most likely be using it to push my betas out pretty soon.
  • Robert
    Robert over 11 years
    I will agree with the above comment. They are out of beta now and it seems like a nice system. There is also a free tier to try out the service easily.
  • Joe
    Joe almost 11 years
    Here's the link to the developer's blog post and the help page that provide a little more details on this.
  • jwinn
    jwinn almost 11 years
    Note that your app cannot be uploaded in debug mode for Alpha Testing. It must be in release mode.
  • Gabriel Osorio
    Gabriel Osorio over 10 years
    TestFlight drops Android support, starting March 21st, 2014.
  • Bastien Libersa
    Bastien Libersa over 10 years
    Unfortunately... The best solution right now seems to be the Play Store itself with the "Beta-testing and staged rollouts" features (support.google.com/googleplay/android-developer/answer/…)
  • Csaba Toth
    Csaba Toth over 9 years
    Other drawback is the latency which happens between the apk upload to the beta and becoming available for the testers. It's significant.
  • Martin Marconcini
    Martin Marconcini over 9 years
    It depends upon their region, in my experience, it has shown almost immediately for some users (especially if they restart their devices)