Does the URL you're downloading from use a redirect or something similar 
to get to the apk?

Many free file hosting or website hosting packages use a loading page 
and some type of redirect (a Meta refresh tag being one example), and 
there have been problems with those on the device (see 
http://groups.google.com/group/android-developers/browse_thread/thread/b4fffb26e83d9653
 
for one example).

Al.

EboMike wrote:
> I'm currently hosting an app on my own server so my beta testers can
> test it. I've set up the apk MIME type to be application/
> vnd.android.package-archive, and when I try to download the app from
> the emulator, it downloads the 53KB apk file and installs it.
>
> When I try to do the same thing from a real ADP1 device, it only loads
> 43KB. When I try to install it, the system says that I'm trying to
> install an app that already exists (called "Android System") and that
> doesn't require any permissions, but nothing happens when I proceed.
> logcat tells me "D/asset   (16379): failed to open Zip archive '/
> sdcard/download/[name of the app].apk'
>
> Bonus points! When I try to download the app from the emulator, I can
> see that in the accesslog of my server. Not so when I download it from
> the device, even after deleting /sdcard/download/* and clearing the
> cache through the settings. Almost as if the device was loading an old
> copy from a proxy server. I'm not sure which APN I'm using, but none
> of the T-Mobile APNs have a proxy AFAICS.
>
> Is there a way to circumvent the proxy, assuming that this is the
> case? And/or tell the proxy not to cache this apk file?
>
> -Mike
>
>
> >
>   


-- 

* Written an Android App? - List it at http://andappstore.com/ *

======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to