Reputation: 7
I know that keyboard is a service but i want to show it like an app on my desktop just like any other app i'm using sample softkeyboard code as a reference
Any Idea
Upvotes: 0
Views: 1171
Reputation: 691
You might need to enable the keyboard on the phones keyboard settings after installing your apk.
see here for guide!
Upvotes: 0
Reputation: 81
I'm not sure if I understand your question correctly, but perhaps this will help. You want to show the 'keyboard like an app' on your desktop? Does this mean that you want an icon to click on that opens the soft keyboard? If so, perhaps the following code may be of use to you. This will simply display the soft keyboard.
InputMethodManager inputMgr = (InputMethodManager)mContext.getSystemService(Context.INPUT_METHOD_SERVICE);
inputMgr.toggleSoftInput(0, 0);
More info on this approach here.
Upvotes: 1