In an app, I am launching the built-in Browser activity via:
startActivity(new Intent(Intent.ACTION_VIEW,
Uri.parse("http://www.google.com")));
The first time you do this, it starts another "window". This doesn't
faze me.
However, if you back-arrow out of the browser back into my application,
and trigger startActivity() again, it creates a third window. Back-arrow
and trigger startActivity() again, it creates a fourth window. And so on.
I don't mind adding one more window to the Browser, but adding one per
startActivity() call seems evil.
My guess is that I need to use a FLAG_ACTIVITY_*, or combination of
same, with my Intent to stop this behavior. However, I've tried a few,
and nothing has worked.
Any thoughts?
Thanks in advance!
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.9 Available!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---