[android-developers] Re: Relationship between Activities Dialogs: Recommended usage suggestions.

2009-10-06 Thread Dianne Hackborn
I'm not sure what you mean by option 2 -- an application should pretty much never create a dialog that is not owned by an activity. It needs to be associated with an owning activity to be properly Z-ordered and otherwise managed with other apps/activities. If you are talking about the difference

[android-developers] Re: Relationship between Activities Dialogs: Recommended usage suggestions.

2009-10-06 Thread Android Development
Thanks for the answer Dianne. Yes, i meant calling new Dialog manually in option 2. I will save the instance state and go about it that way. On Tue, Oct 6, 2009 at 11:39 AM, Dianne Hackborn hack...@android.comwrote: I'm not sure what you mean by option 2 -- an application should pretty much

[android-developers] Re: Relationship between Activities Dialogs: Recommended usage suggestions.

2009-10-06 Thread Android Development
btw Dianne, In the docs (http://developer.android.com/guide/topics/ui/dialogs.html ), they do say that we may create a dialog outside onCreateDialog method which is not owned by/attached to an activity. However, we may assign an owner by calling