What do you mean by 4MB? My guess is that this is the file size. The file size is not relevant for displaying an image, what matters are its dimensions, what are the dimensions?
Each process in Android has a limit of 16MB of memory. Due to process overhead this really means you have up to 14MB of usable memory. Each pixel of an image displayed takes a certain amount of memory, so there is an absolute size you can display. Now, Android phones to date have a maximum screen resolution of 320x480. If your source image file is larger than this, you should use BitmapFactory's options to scale it down as its turned into a Bitmap. Cheers, Justin Android Team @ Google On Jul 17, 5:45 am, Muniraju <munir...@gmail.com> wrote: > This is with reference > tohttp://groups.google.com/group/android-developers/browse_thread/threa.... > > Large gif images of size more than 4MB can not displayed in android. > > Is this is a known issue in android? > > Thanks, > With Regards > Muniraju --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---