And I have learned something new today. I didn't know that doing a long press on HOME would display the last 6 apps used, well there you go.
On Mon, May 11, 2009 at 1:06 PM, David Turner <[email protected]> wrote: > > > On Mon, May 11, 2009 at 12:01 PM, arnouf <[email protected]> wrote: > >> >> So if I understand (thanks at all for your answers) >> >> If the G1 device displays 6 applications it's just a UI beahviour >> (there are perhaps 15 applications/activity sleeping)... >> >> Is not a shame? Example: if I use a game application, really heavy the >> morning...This game stays in memory all the day and slow down (maybe) >> the device.... >> > > If the game doesn't have background services, it simply won't run. > > The process is held in memory so you can switch back to it very rapidly > (i.e. all the setup is already there, no need to reload everything like > bitmaps from disk), > that's all. > > You should see this a user-friendly optimization :-) > > And what the long-press HOME displays is actually a least-recently-used > list of applications, I'm not even certain that all the corresponding apps > have a process in the system. I'm pretty sure that the "6" is a display > limitation made to keep the UI simpler. > > >> Do I understand well? >> >> On May 11, 11:06 am, David Turner <[email protected]> wrote: >> > Essentially, the system will kill application processes to make room for >> new >> > ones in case of contention. There are also some rules to avoid killing >> > system services, or even application services before activities, but the >> > idea is still the same. >> > >> > Which means that the maximum amount of VM instances you can get depends >> on >> > the available RAM on your devices, what other services are running, >> etc.. >> > It's hard to give any accurate number then. >> > >> > On Sun, May 10, 2009 at 9:12 PM, arnouf <[email protected]> >> wrote: >> > >> > > Hi all, >> > >> > > It seems that Android can support 6 Dalvik instances in same time. >> > > Each instance contains an application - so one or more Activity. Is it >> > > right? >> > > If user wants launch an Activity Android look for the memory >> > > status...If the new application can be launched, the non used >> > > application is killed (with its Dalvik VM). Right or wrong? >> > >> > > Thanks all >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Discuss" 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-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
