[android-developers] Re: Using FLAG_ACTIVITY_CLEAR_TOP, but don't restart target activity?

2009-11-21 Thread Mark Wyszomierski
Hi Mark, Here's the call: intent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP | Intent.FLAG_ACTIVITY_CLEAR_TOP); same behavior though, 'B' gets its onCreate() method called. I added an override for onNewIntent() just to see if it would be called, but it isn't either, I must be missing something

[android-developers] Re: Using FLAG_ACTIVITY_CLEAR_TOP, but don't restart target activity?

2009-11-21 Thread Mark Wyszomierski
Ok this does work if you add the following to your activity definition in the manifest file: android:launchMode=singleTop Thanks On Nov 21, 8:15 pm, Mark Wyszomierski mar...@gmail.com wrote: Hi Mark, Here's the call:    intent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP |

[android-developers] Re: Using FLAG_ACTIVITY_CLEAR_TOP, but don't restart target activity?

2009-11-21 Thread Matt Kanninen
I had never seen so much use required of OR until I started doing Android application development. On Nov 21, 5:07 pm, Mark Murphy mmur...@commonsware.com wrote: Mark Wyszomierski wrote: Hi, I'd like to use FLAG_ACTIVITY_CLEAR_TOP to launch an activity in my app. It has one feature I