How do you close/hide the Android soft keyboard programmatically?

To help clarify this madness, I’d like to begin by apologizing on behalf of all Android users for Google’s downright ridiculous treatment of the soft keyboard. The reason there are so many answers, each different, for the same simple question is that this API, like many others in Android, is horribly designed. I can think … Read more

How can you make a custom keyboard in Android?

System keyboard This answer tells how to make a custom system keyboard that can be used in any app that a user has installed on their phone. If you want to make a keyboard that will only be used within your own app, then see my other answer. The example below will look like this. You … Read more

How to use su command over adb shell?

Well, if your phone is rooted you can run commands with the su -c command. Here is an example of a cat command on the build.prop file to get a phone’s product information. This invokes root permission and runs the command inside the ‘ ‘. Notice the 5 end quotes, that is required that you close ALL your end quotes or you … Read more