Out of memory exception on setting wallpaper

by Romain Guy » Fri, 13 Mar 2009 00:27:02 GMT


Sponsored Links
 getWallpaper() is not leaking. The default Home app is using it and
does not experience out of memory errors because of that.

I am more than willing to fix any existing memory leak in the
framework (and I did several times) or in the default apps (and I did
several times) but developers should really stop assuming that out of
memory errors are always caused by the framework. It is *very* easy
for an application to leak or simply to use too much memory.







-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Creating new calendar event not setting OnActivityResult params

I am trying to use the built-in Calendar Activity to create a new
event.

The code i use to start a new calendar event activity is below.

 Intent intent = new Intent(Intent.ACTION_EDIT);
intent.setType("vnd.android.cursor.item/event");
startActivityForResult(intent, PICK_OR_CREATE_EVENT);

 The problem i am having is that the OnActivityResult method called
after saving the event has a resultcode of Activity.CANCELLED even
though the Save button was clicked and a new event was created. Also,
the Intent data param is null, which should have been the Uri to the
newly created event.


Does anyone know why the OnActivityResult behaves this way?


Thanks
Kris

-- 

2. FTP Application for IPv6

Hello All,

Does any body know if there exists any package to test FTP over IPv6.

I tried with some of FTP applications available in market but it doesnt seem
to support IPv6.

Please help as this is very urgent for me

Best Regards
Petruchi

-- 

3. Changing default location of R.java

4. dynamically creating custom checkbox

5. Slider devices cause Activi ties to reset鈥

6. Exception in the bowels of Contact Manager?

7. Android framework Java sources