On Tue, Sep 21, 2010 at 1:13 AM, Jerome Deng wrote:
> If there is less memory available, the resource used by the paused
> apps will be recycled by Davilk VM.
>
Actually Dalvik isn't really involved here except for executing code as it
normally does. This is implemented by the framework and ker
Well, as you'll read in the docs, it's during onSaveInstanceState()
that you save the state that will be restored when your app is
restarted due being killed by the OS.
The saving you do in onPause() is the normal kind of saving you do;
saving the user's inputs and the like.
The kind of saving yo
Parag,
Yes, Android can shut down processes if there is not enough memory. I
think you should review these sections from Android documentation:
http://developer.android.com/guide/topics/fundamentals.html#procthread
http://developer.android.com/guide/topics/fundamentals.html#lcycles
-- Kosty
How well they restore state depends on how the app author has handled
the onPause which is called when the app first went into the
background and became fair game for killing.
Typically for example an email your were editing will now be a saved
draft, a moves-based game will be exactly as before,
Yes, that is exactly what it means. From the user's perspective,
nothing has happened: when they come back to app #1, it has been
restarted, has restored its state and things look exactly like they
did when the user was there before.
If you want to notify the user somehow, you would do that in you
Hi Jerome,
Thanks for th information,
so does that mean that, there is a possibility that some apps will be
closed, without notifying the user?
Thanks in advance
On Sep 21, 1:13 pm, Jerome Deng wrote:
> If there is less memory available, the resource used by the paused
> apps will be recycled
If there is less memory available, the resource used by the paused
apps will be recycled by Davilk VM.
When you open the first app again, it will be relaunched. But not all
previously opened apps must restarted, as they may be still in paused
state.
On Sep 21, 2:10 pm, parag wrote:
> hi folks,
>
7 matches
Mail list logo