简体   繁体   中英

android: test app on a real device

My client wants to dogfood my android app. They don't have eclipse and don't want to install it. Is there a more convenient way to send my apk to them? Can I send it via email and let them open the attachment in mobile device? Will it start installing itself automatically?

将APK上传到网站,配置Web服务器以提供具有正确MIME类型的 .apk文件,然后通过电子邮件,SMS,tweet等将URL发送给测试人员。

CommonsWare's answer is a great way to do it. Another way that I've used in the past to get a few people to beta test my apps is have them put the apk file on the phone's SD card. Then use an app like Astro File Manager to browse to the file and install it.

I've also had a few other developers email me their APK files to test, and this is the method I used to install their apps on my phone. Note that I'm just opening the email on my PC, and saving the attachment to the SD card on the phone via USB.

This thread is pretty old, but I thought I would add:

Try dropbox app. Create a shared folder and configure the device so it can access that folder then your client can install it directly on the device by navigating to the APK and opening it.

Crazy as this sounds, I use my Dropbox public folder to send a URL that would initiate an OTA installation on the phone.

I just drop my .APK file into my Dropbox public folder, get its public URL and use an online service like kaywa.com to generate a QR code for that URL and send it via email or IM.

It's quick and easy (not to mention, absolutely free).

I've never sent an APK as an attachment (I normally send a link to an APK on the internet) but I expect it would work. Just click to open it, and you well get the same prompts about permissions that you get in the Market application.

The APK does need to be signed though (this can easily be done in Eclipse with Android Tools -> Export Signed Application Package). Also make sure android:debuggable="false" is set in your application tag in AndroidManifest.xml.

Using the default google mail application on an android phone you have the option to preview attached files, however no option to save them. Attempting to preview the attatched apk file will launch the package installer but it will fail with "There is a problem parsing the package".

Tested on my phone with android 1.5 (the apk will install if transfered via usb)

I always used this app . Worked flawlessly every time.

这篇文章很老,但我想我应该添加一下:使用曲棍球应用程序: http : //hockeyapp.net/它是管理测试和版本的绝佳平台。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM