View Full Version : Mulit-Page Application in Android

07-27-2011, 12:51 AM
Hello Friends,
I'm J2ME developer.
right now i'm android beginner.

I want to know,in every android app.
can i take single activity for multi-page or multi-form application....

Is it best way to coding .... cause i think if i take every new activity then it will use lots of space on RAM.

So please suggest me how to make best way android application...


07-27-2011, 02:48 AM
Moved to appropriate forum. :)

07-29-2011, 07:41 PM
Activities are created and destroyed as needed to manage RAM. For the most part you will not need to manage RAM yourself unless you are doing something very intensives or use a lot of images. There is a bug with creating images and orientation changes that can cause you to run out of ram but there are ways around it. Easiest method to get around it is to handle orientation changes yourself, and call bitmap.recycle() when you are done with bitmaps.