如何部署的Andr​​oid应用beta测试设备 [英] How to Deploy Android Application to Beta Tester Devices

查看:98
本文介绍了如何部署的Andr​​oid应用beta测试设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Andr​​oid应用程序是不是在应用程序商店呢。 是否有可能送我的应用程序的人,和他们自己的设备上安装它。 类似iphone的AdHoc?

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?

推荐答案

您可以通过电子邮件发送给您的APK。当然,也有一些缺点这样做。

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

  1. 没有任何内置的复制保护锁定的APK到单个设备,使测试人员可以重新分配你的应用程序未经您的同意。这是东西,你将需要处理,甚至当你使用的是市场发布应用程序。 如果您选择复制保护开时,人们仍然能够得到你的APK 因为很多人都植根设备而这一切的选项并为安装的APK影响。谷歌建议,你也可以实现自己的副本保护方案我认为这是审慎的。

  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.

添加<一href="http://developer.android.com/reference/android/Manifest.permission.html#READ_PHONE_STATE"><$c$c>READ_PHONE_STATE允许您的清单,因此您可以获取手机的IMEI,发送到你的服务器,并确定用户是否应被允许运行应用程序。

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();

  • 您的测试人员将需要启用未知来源允许安装非市场应用

    假设你的测试仪使用谷歌作为自己的电子邮件提供商,值得注意的是,重要的是 Android的Gmail应用程序不处理APK附件正确。虽然这可能混淆你的电子邮件的收件人,也有简单的变通办法:

    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:

    • 告诉他们使用的浏览器应用程序通过 Web界面以下载附件。
    • 让他们下载 APKatcher 第一。
    • Tell them to use the Browser app to download your attachment through the web interface.
    • Have them download APKatcher first.

    这篇关于如何部署的Andr​​oid应用beta测试设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆