Hello, i'm Kono.
Sorry for my english !!!!

After an application is booted from an browser by a scheme name,
the application quits (the process is killed) when the HOME button is
pushed.

I recognize that the application should make a transition to
background
and the process should not be killed.

I don't know why.
I hope someone tells me why.


the processiong flow is below.
1. the application is booted from an browser.
2. the application is quited by 'finish();'.
3. the application is booted by calling the scheme name from opened
URL.
4. after the application is booted, the application quits when the
HOME button is pushed.


if I set android:launchMode="singleTop" in the AndroidManifest file,
this phenomenon doesn't occurs.
But it's not the way to code I hope.


I set the Intent like below which is created when the browser is
booted.

intent.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY
 | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS
 | Intent.FLAG_ACTIVITY_NO_ANIMATION
 | Intent.FLAG_ACTIVITY_NEW_TASK);


I hope someone tells me why these phenomenon is occured.


In addition, when the HOME button is pushed, onPause is NOT called and
called only onStop.
Is it the normal behavior under some condition?

-- 
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, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to