[android-developers] Re: what is maximum height and width of image which can display?

2009-01-30 Thread blindfold
So how will Android work with 8 megapixel cameras? Several (non- Android) 8 megapixel camera phones have been announced for this year. Either the application heap has to grow or the camera must get a memory area of its own. Thanks On Jan 29, 7:53 pm, Dave Sparks davidspa...@android.com wrote:

[android-developers] Re: what is maximum height and width of image which can display?

2009-01-30 Thread Marco Schmitz
I think 16MB is max for one activity... greetings, darolla 2009/1/29 jj jagtap...@gmail.com: what is maximum height and width of image which can display? When I try for 1000px height and 1000pix width it work, but for beyond it, it gives exception, appl force close.

[android-developers] Re: what is maximum height and width of image which can display?

2009-01-30 Thread Dianne Hackborn
It's not, it's for the whole process. The 16MB limit isn't a hard-coded fixed limit. It is a limit that makes sense on the G1 given its available memory and the resources apps need. You can assume this will be larger on devices with more memory and more expensive resources like larger screens,

[android-developers] Re: what is maximum height and width of image which can display?

2009-01-29 Thread Stoyan Damov
Why would you want to draw a 1000x1000 image on 480x320 screen? On Thu, Jan 29, 2009 at 2:05 PM, jj jagtap...@gmail.com wrote: what is maximum height and width of image which can display? When I try for 1000px height and 1000pix width it work, but for beyond it, it gives exception, appl

[android-developers] Re: what is maximum height and width of image which can display?

2009-01-29 Thread Phill Midwinter
I suppose for something like the camera gallery, so you can view your photos at full res? 2009/1/29 Stoyan Damov stoyan.da...@gmail.com Why would you want to draw a 1000x1000 image on 480x320 screen? On Thu, Jan 29, 2009 at 2:05 PM, jj jagtap...@gmail.com wrote: what is maximum height

[android-developers] Re: what is maximum height and width of image which can display?

2009-01-29 Thread Stoyan Damov
I still don't get it. The viewport is 480x320. Imagine if you are trying to play Quake or Unreal Tournament and the game tries to draw the entire level, even though only a tiny part of it is visible. On Thu, Jan 29, 2009 at 4:39 PM, Phill Midwinter ph...@grantmidwinter.com wrote: I suppose for

[android-developers] Re: what is maximum height and width of image which can display?

2009-01-29 Thread Phill Midwinter
That's a Z buffer. A correct comparison would be running a game in 1280x1024 but only having an 800x600 capable screen... in which case the game wouldn't display. This is simply a 2d image, why not load it all into memory if you're going to be dragging it around? 2009/1/29 Stoyan Damov

[android-developers] Re: what is maximum height and width of image which can display?

2009-01-29 Thread Dave Sparks
The application heap is limited to 16MB. For RGB565, that's a max of 8M pixels, not including the heap that the app uses for other objects. Chances are, you are probably decoding from a JPEG, so you need room for both the compressed and uncompressed version. On Jan 29, 7:41 am, Phill Midwinter