but problem is :
--------------------
My activity contains one edittext and one button.
so when my activity launched at that time i want cursor focus on my edittext and open soft keyboard @ activity launched time.
what i have done
-----------------------
InputMethodManager inputMethodManager=(InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
inputMethodManager.toggleSoftInputFromWindow(tabHost.getApplicationWindowToken(), InputMethodManager.SHOW_FORCED, 0);
using above code i can able to open qwerty keyboard, but i want to open numpade, how it is possible?
thank you.
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment