[android-developers] Re: showDialog and dismissDialog behave strangely when changing orientation

2009-07-12 Thread Streets Of Boston
I'm seeing this behavior now too (Cupcake release). showDialog(id) --> config change --> dismissDialog(id) won't work more When calling dismissDialog(id) after a config change doesn't do anything (not dismissing the dialog, but no error-message either). Something is wrong here... On May 21, 4:

[android-developers] Re: showDialog and dismissDialog behave strangely when changing orientation

2009-05-22 Thread Streets Of Boston
Do you call dialog.show() or activity.showDialog(dialogid)? On May 22, 11:15 am, idev wrote: > Anyone know about this? I've seen many posts and blogs about this > problem but no one seems to have a solution for it. > Can someone please help! > > Thanks. > > On May 21, 8:12 pm, iDeveloper wrote:

[android-developers] Re: showDialog and dismissDialog behave strangely when changing orientation

2009-05-22 Thread idev
Anyone know about this? I've seen many posts and blogs about this problem but no one seems to have a solution for it. Can someone please help! Thanks. On May 21, 8:12 pm, iDeveloper wrote: > Not in the onCreate implementation. I am calling it on a button's   > click event. And the button is sor

[android-developers] Re: showDialog and dismissDialog behave strangely when changing orientation

2009-05-21 Thread iDeveloper
Not in the onCreate implementation. I am calling it on a button's click event. And the button is sort of a refresh button. So it might be pressed multiple times. On 21-May-09, at 7:57 PM, Streets Of Boston wrote: > > Where do you call the showDialog()? In the onCreate? > > (Note that there

[android-developers] Re: showDialog and dismissDialog behave strangely when changing orientation

2009-05-21 Thread Streets Of Boston
Where do you call the showDialog()? In the onCreate? (Note that there is a known issue with the onPrepareDialog that is not called properly when a configuration change has occurred in your app.) On May 21, 4:53 am, idev wrote: > Hi > I am using the showDialog and dismissDialog methods to show p