This can't be changed dynamically after the
ActivityGroup/LocalActivityManager is created.

On Fri, Nov 21, 2008 at 2:17 PM, Cheryl Sedota <[EMAIL PROTECTED]>wrote:

>
> How can I set the 'singleActivityMode' flag for an activity group's
> constructor?
>
>
> http://code.google.com/android/reference/android/app/ActivityGroup.html#ActivityGroup(boolean)<http://code.google.com/android/reference/android/app/ActivityGroup.html#ActivityGroup%28boolean%29>
>
> The problem I am encountering is that although my activity group's
> onResume/onPause methods are getting called, the onResume/onPause
> methods of each of the activities started by the activity group's
> local activity manager are not getting called.  I looked at the source
> code for LocalActivityManager's dispatchPause() and dispatchResume()
> APIs and I see that when this 'singleActivityMode' flag is
> 'true' (which is the default), the underlying activities' onPause/
> onResume lifecycle events don't get called.
> >
>


-- 
Dianne Hackborn
Android framework engineer
[EMAIL PROTECTED]

Note: please don't send private questions to me, as I don't have time to
provide private support.  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 [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