My app creates and shows an AlertDialog which accepts input from the
user (the user needs to type some text into an EditInput).

With the AlertDialog on screen, if the user opens up the keyboard on
the device, then the app's OnCreate and OnResume methods are called
and my AlertDialog promptly disappears from the screen ... not the
effect I was hoping for!

I thought that perhaps I needed to override the Activity's
onConfigurationChanged method, but despite having the following in my
Manifest:

            <application android:icon="@drawable/icon"
                                 
android:configChanges="keyboardHidden|orientation"
                                 android:label="@string/app_name"
                                 android:launchMode="singleTask"
                                 android:debuggable="true">

my overriden method is never called when the keyboard is opened. And,
even if it was, it's not clear to me what I would need to do to avoid
the AlertDialog from disappearing!

I'd be grateful for some advice :-)

Julian

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