If you don't want this behavior, don't use a managed dialog.
Create and show the dialog without going through Activity.showDialog() /
onCreateDialog(), save reference as a member variable, call
mMyDialog.dismiss() on your activity's onPause or onStop.
-- Kostya
05.10.2011 15:49, Naveen пишет:
yes i am talking abt single application,
suppose appllication X i have opened dialog and i went to settings
application throgh task manager. Their i will change font style, and
will return back to application X, application X will refreshed and it
will recreated.
but dialog is not dismissed. how to dismiss this dialog?
On Oct 5, 2:35 am, Studio LFP<studio....@gmail.com> wrote:
I'm not quite understanding.
Are you talking about two different applications? One is yours and one is
someone elses?
Or are you talking about two different activities within your application?
Steven
Studio LFPhttp://www.studio-lfp.com
On Tuesday, October 4, 2011 9:28:43 AM UTC-5, Naveen wrote:
How can i dismiss the dialog,
Opening the dialog of one application and going to the setting
application to change the font style in the settings and cum back to
the pervious application by pressing back key, the application is re-
created but dialog is not dismissed.
I want to dismiss dialog of the application( dialog object is not
visible)
Thanks.- Hide quoted text -
- Show quoted text -
--
Kostya Vasilyev
--
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