Hello there, 

I posted yesterday, but my answer did not seem to get through. Yesterday I 
implemented my own expansion file downloader activity using the provided 
downloader library. The library (as stated in the documentation) supports 
expansion files from API level 4 onwards.

Sadly to mention, it seems that there is an severe bug preventing devices 
running API levels 11, 12 and 13 from using the service. The downloader 
provides useful notifications by using the android notification service. 
API level 11 introduced the Notification.Builder class, which allows to 
show even richer notifications. The service checks wheter this class is 
available or not, and chooses the right method of creating notifications. 
Although the new class was introduced with API level 11, one method (that 
is used by the downloader service), namely the setProgress() method, only 
exists on API level 14. The downloader service doesn't check if the method 
is available or not, thus resulting in a crash on devices that don't have 
this method (-> API level 11, 12, 13). You can fix this bug, by adding a 
check for this method (either once, or every time the method gets called).

Hope this clears things up for you.

Regards,
David

Am Mittwoch, 14. März 2012 05:56:23 UTC+1 schrieb Nirbhay Garg:
>
> how to download the Expansion File in Android Application and step to 
> create two Expansion file which is used to upload application when the 
> size of Application exceed 50 MB ????

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

Reply via email to