Hi All, Problem Statement:
I am trying to show keyboard when EditText got focus. From following two URL's, I got an idea how to implement it. My target platform is android-sdk-windows-1.5_r2. -----First------- http://groups.google.com/group/android-porting/browse_thread/thread/53852dc869b4a646 .... You can use the InputMethodManager class to show or hide the current soft keyboard. .... Dianne Hackborn Android framework engineer [email protected] Considering above statement I have tried to show keyboard by following code, but it has not worked. public void showKeyboard(EditText text) { InputMethodManager inputManager = (InputMethodManager) this.getSystemService (Context.INPUT_METHOD_SERVICE); inputManager.showSoftInputFromInputMethod(text.getWindowToken (), InputMethodManager. SHOW_FORCED); } ----End First------- ----Second-------- "http://android-developers.blogspot.com/2009/04/updating-applications- for-on-screen.html". I got an idea to add following attribute in activity. This again has not shown keyboard automatically: <activity name="EditActivity" android:windowSoftInputMode="stateVisible"> ... </activity> ------End Second-------- Conclusion: I have not found additional way to show keyboard. Your quick responsible is highly desirable. Thanks & Regards, Himanshu --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

