> My activities's first screen shows a bunch of images. When I hit HOME > and then launch the app again, my app's first screen is displayed > instaneously.
You are not "launching" the app in this case. Pressing HOME is roughly equivalent to minimizing a window in a windowed operating system. Choosing the app again from the home screen is roughly equivalent to restoring the window from the minimized state. In other words, your app is still running after pressing HOME, at least until Android needs to reclaim memory. > If I hit BACK and launch the app again, the images are decoded again > and it takes about 200ms to show. > > Is there anyway to reduce this 200ms time? Use fewer images, or lower-resolution images, or images of a file type that decodes faster. I have not run performance tests on PNG vs. JPEG vs. GIF to determine which will decode quickest for the same source image, but it is possible that one format is significantly faster than the others. Or, stagger the image loads so the user gets to the activity faster, with the remaining images popping in as they decode. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

