I traded my Dialog for an Activity with the theme 
android:theme="@android:style/Theme.Dialog".

It's cool.  It operates just like a Dialog, but I can just use an intent to
get my input back from the Activity.  My problem is getting the activity to
raise the soft keyboard.  I tried this:

public void onResume(){
                super.onResume();
                note_text.requestFocus();
                InputMethodManager input_manager = (InputMethodManager) 
borg.getSystemService(this.INPUT_METHOD_SERVICE);
                input_manager.showSoftInput(note_text, 
input_manager.SHOW_FORCED);
        }
}

I moved it to onResume so that the Activity would be as 'alive' as possible.
So this didn't work, but if I put the same code inside the onClick() for a
button, the keyboard shows.  I'd have to assume that the activity isn't
really really fully alive during onResume.  A second later when I click the
button, the keyboard raises.

Thanks

Tobiah

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