Server MIME Type for Android APK files
March 9th, 2011I uploaded my test Android App to my website but found that the server was just treating the file as plain text so it just appeared in the browser as a regular page.
To force the app to download through a browser was very easy, just edit your .htaccess file to add the following line (assuming you use Apache of course).
AddType application/vnd.android.package-archive apk
Now the phone browser will force a file download so it can be installed by the app installer, easy.
January 10th, 2012 at 7:01 pm
Awesome. Exactly what I was looking for.