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 an开发者_JS百科d let them open the attachment in mobile device? Will it start installing itself automatically?
Upload the APK to a Web site, configure the Web server to serve .apk
files with the proper MIME type, and send the URL to the tester via an email, SMS, tweet, etc.
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.
this post is old but i think i should just add this: use hockey app: http://hockeyapp.net/ its a great platform for managing tests and versions.
精彩评论