Ah, so singleTask for an existing activity pulls it out of whatever task it was in, and starts a new task?

29.01.2011 12:00, Dianne Hackborn ?????:
Nope singleTop is great. singleTask should be avoided unless you really, really want the radically different behavior it creates.

On Fri, Jan 28, 2011 at 9:39 PM, Moto <medicalsou...@gmail.com <mailto:medicalsou...@gmail.com>> wrote:

    Thanks Dianne for your reply.  I'm currently using
    android:launchMode="singleTop" and have implemented the
    onNewIntent().  With that I'm also using the flag
    FLAG_ACTIVITY_REORDER_TO_FRONT
    
<http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_REORDER_TO_FRONT>


    This behavior is perfect for what I was trying to do.  If you
    don't recommend this please do let me know!

    Thanks!

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




--
Dianne Hackborn
Android framework engineer
hack...@android.com <mailto:hack...@android.com>

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.

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


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

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