Hi everyone!

I will work in an Android videogame soon. It will need a lot of
artwork which means that will have a few image resources.
Mi question is about the loading process of the application and its
memory optimizations.

About the pictures:
How does the VM handle the drawable resources or the classes of the
application that are not used yet, I mean, does the application load
everything at once or just under demand?

About the unused classes:
Does the declaration of unused classes consume memory or are them just
loaded when I create an instance of them?
If some clases have a lot of fixed static data (for example, preloaded
locations for a map) is all that data consuming memory when the class
is not used or its loaded by demand?

Thank you very much in advance.
Sorry for my bad english.

Best regards.

Miguel
-- 
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