Cannot download .apk from G1 Browser

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Cannot download .apk from G1 Browser

Postby andreleitao » Thu Jun 25, 2009 10:14 pm

Hi, folks.

I've tried to download an .apk file via OTA, and all the device does is to show the binary characters instead to download file.
But I tried to download apk files from this forum, for example, and it worked perfectly. E.g. links present on this post: http://www.anddev.org/get_your_android_application_tested_on_a_g1_-t3063-s45.html are downloaded perfectly and runs normally. But if I take one of these apk files and put it in a personal server G1 device does not open the file, it shows binary characters. Why that? :cry:


If you want I can give you a link to test it.

Thanks :)
andreleitao
Experienced Developer
Experienced Developer
 
Posts: 70
Joined: Tue Mar 10, 2009 9:56 pm
Location: Recife - Brazil

Top

Re: Cannot download .apk from G1 Browser

Postby plusminus » Thu May 20, 2010 8:54 pm

The reason is probably that your server doesn't send out the appropriate Content-Type.

Regards,
Nicolas
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to General

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests