Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatically show custom keyboard for EditText. Android

I want to make the custom keyboard in my android application and show it for specific EditText.
I've read documentation and found, that I need to extend the InputMethodService class. But I didn't find out how to show this keyboard automatically for some EditText.

Thanks

like image 228
Nightman Avatar asked Dec 31 '12 11:12

Nightman


2 Answers

There is a example present in Android SDK

Load that Android Project

New --> Android Sample Project --> Soft Keyboard

To show your keyboard for particular edit text box you need to override OnTouchlistener

like image 51
Bucks Avatar answered Sep 28 '22 07:09

Bucks


I found the solution I wanted here: http://www.infiniterecursion.us/2011/02/android-activity-custom-keyboard.html

like image 45
Nightman Avatar answered Sep 28 '22 07:09

Nightman