On Fri, Nov 23, 2012 at 7:37 PM, Björn Morén <[email protected]> wrote:

> I assume that for the Android OS this is the equivalent of minimizing an
> application in Windows. The desktop process is already running in the
> background and the process of whatever app I was using is not terminated;
> it continues to run.


It's more like minimizing all applications to show the Desktop. There's no
gaurantee that the desktop process is already running, as it may have been
booted out of memory when you opened a bunch of apps. In which case, it
would have to reload, along with all the widgets you may have installed.
Similarly, the app you were running could potentially be terminated if
there is no space to keep it around. It could also be doing some shut down
logic that slows things down.


> So what is actually happening in the OS during this time that I have to
> wait for?


A million little things that add up. No way to really know in your specific
case other than to run logcat and look at the output in verbose mode.


> One strange thing is that the phone returns slightly quicker to the start
> screen when I use the back button. I assume that in some scenarios this
> action will terminate the current process, so it should be slower, not
> quicker.


When you use Home, most apps will save their current state. Depending on
the app, this could be significantly slower than just exiting.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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

Reply via email to