Re: [android-developers] Out of Memory Exception

2011-07-25 Thread Varun Tewari
Make sure you are using different set of graphics for ldpi/mdpi/hdpi/etc. Or else it will scale drawables from base folder, which eats cpu cycles and lots of memory. Reg, Varun On Mon, Jul 25, 2011 at 10:23 PM, Nick Risaro wrote: > I think the problem is with your background, try with a smaller

Re: [android-developers] Out of Memory Exception

2011-07-25 Thread Nick Risaro
I think the problem is with your background, try with a smaller picture On Mon, Jul 25, 2011 at 8:38 AM, chetan wrote: > bitmap size exceeds VM budget -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to a

[android-developers] Out of Memory Exception

2011-07-25 Thread chetan
Hi All, I have created app in which i am getting a exception: 07-15 18:29:28.949 225 225 E dalvikvm-heap: 582400-byte external allocation too large for this process. 07-15 18:29:29.079 225 225 E GraphicsJNI: VM won't let us allocate 582400 bytes 07-15 18:29:29.109 225 225 E

[android-developers] Out of Memory Exception when exporting vcards

2011-03-21 Thread Ajith Kamath
Hi I am facing a problem when I need to export vcards overs bluetooth. Problem is vcards are large in number. Plus If the vcards have images in them then size is really high. So when i try sending this I get OutOfMemory Exception , its Coming from VcardComposer.java. - At onEntryCreated() Can I

[android-developers] out of memory exception in gridview

2009-08-25 Thread jaimin
hi i am new to android. i have an application in that i download 105 images. now i than i display those images in gridview thumbnail size . it images are display but it take some time to display images in gridview and even take long time to scrolldown to view below images. can any one helpm me on

[android-developers] out of memory exception on transferring large file to DataOutputStream

2009-04-28 Thread zeeshan
Hi Experts, I need to post some files on my server, it works fine for small files like 1mb but when i try for more than 4 mb ; it force close because of memory overload. please have a look on my code below: URL url = new URL(uri); URLConnection conn = url.openConnection();

[android-developers] out of memory exception on setImageURI

2009-03-31 Thread zeeshan
Hi Experts, i am having out of memory exception at image_view.setImageURI(Uri.parse (imageFile)); it is working fine as long as i keep the same orientation, but when i change the orientation, it gives me exception. i am passing imageFile from calling activity as string. here is a piece of my

[android-developers] Out of memory exception on setting wallpaper

2009-03-12 Thread ursnavin
Hi , Im trying to develop a home application . Whenever there is a shift between landscape and potrait mode , im setting the wallpaper onCreate () function using the below code . getWindow().setBackgroundDrawable(getwallpaper()); The code seems to work fine for first few shifts , but after th