No, it will never be true.
The VM doesn't manage processes at all. The system starts a process and
runs a VM inside of it when it needs to run any components of an
application. Unless you specify otherwise, all of your components run in
the same VM, in the same process, sharing all of the same
That affirms a lot for me. Thanks!
Richard Schilling
Root Wireless
On Jul 14, 4:35 pm, Dianne Hackborn hack...@android.com wrote:
No, it will never be true.
The VM doesn't manage processes at all. The system starts a process and
runs a VM inside of it when it needs to run any components
What if you make your activity singleTop and then use onNewIntent() in the same
activity such as
onCreate { configure(); }
onNewIntent { configure() }
-Original Message-
From: Daniel daniel.himmel...@googlemail.com
To: Android Developers android-developers@googlegroups.com
Date: Fri,
On Tue, Jan 13, 2009 at 12:27 PM, iliketolearn theand...@gmail.com wrote:
When the system is running low on memory, can it selectively choose to
destroy an activity in the process, instead of the entire process?
Currently it relies on killing the entire process, but this could change in
the
hackbod, with the finishOnTaskLaunch flag set to true, pressing HOME
will finish the activity, calling onDestroy.
On Oct 3, 2:59 am, hackbod [EMAIL PROTECTED] wrote:
Um... you should fix your program. :)
You can't really rely on onDestroy() for this. For example, if the
user presses home
Um... you should fix your program. :)
You can't really rely on onDestroy() for this. For example, if the
user presses home to get out of your app, the activity will not be
destroyed. And if the user flips the lid while your activity is
running, the current instance will be destroyed and a new
A situation you will often run in to is when another entity (such as
the SearchManager or NotificationManager) starts one of your
activities. In this case, the Intent.FLAG_ACTIVITY_NEW_TASK flag must
be used, because the activity is being started outside of a task (and
the application/task may
When setting the Notification intent, are you using the Flags CLEAR_TOP and
SINGLE_TASK?
ie. Intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP |
Intent.FLAG_ACTIVITY_NEW_TASK)
More explanation about these launch modes is given in the docs below:
Awesome! You saved the day ... again.
--~--~-~--~~~---~--~~
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,
101 - 109 of 109 matches
Mail list logo