[android-developers] Re: AlertDialog lose on change rotation

2009-01-21 Thread fala70

Yes now work. I am calling the Dialog using Show Method, instead is
necessary call create() method into OnCreateDialog override method.

On 18 Gen, 19:02, Romain Guy romain...@google.com wrote:
 Hi,

 Please look at showDialog(int), dismissDialog(int), removeDialog(int),
 onPrepareDialog() and onCreateDialog() in the Activity class.

 On Sun, Jan 18, 2009 at 7:13 AM, fala70 fal...@gmail.com wrote:

  I've an application with a MapActivity used how main activity. I
  inserted an AlertDialog to show and edit a few infos. When I change
  from portrait to landscape for open the keyboard, my AlertDialog is
  detroied without replaced, then I must recall the command menu for
  show again my AlertDialog.

  Any suggest to mantain open the AlertDialog from portrait to landscape
  and viceversa ?

  thanks

 --
 Romain Guy
 Android framework engineer
 romain...@android.com

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



[android-developers] Re: AlertDialog lose on change rotation

2009-01-18 Thread Romain Guy

Hi,

Please look at showDialog(int), dismissDialog(int), removeDialog(int),
onPrepareDialog() and onCreateDialog() in the Activity class.

On Sun, Jan 18, 2009 at 7:13 AM, fala70 fal...@gmail.com wrote:

 I've an application with a MapActivity used how main activity. I
 inserted an AlertDialog to show and edit a few infos. When I change
 from portrait to landscape for open the keyboard, my AlertDialog is
 detroied without replaced, then I must recall the command menu for
 show again my AlertDialog.

 Any suggest to mantain open the AlertDialog from portrait to landscape
 and viceversa ?

 thanks
 




-- 
Romain Guy
Android framework engineer
romain...@android.com

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