Simple Activity-Based keyboard to implement in Android Wear apps and can help your users to input texts without using voice commands.
Currently supporting only rectangular watches, Support for round watches will come after their release if needed.
Tested on LG G Watch, 2014.
http://i.imgur.com/V3ymJ6n.png
http://i.imgur.com/iWaXlj9.png
http://i.imgur.com/8fQr0Jm.png
This Github repo is also an Example project. Fork this project and open it with Android Studio or InteliJ. Connect your Android Wear watch to PC using their adapters, And run the app.
If it doesn't opened automatically on the watch after running, Just using the voice command "Ok Google, Start Keyboard", Or choose "keyboard" at the "Start..." menu.
-
Download and add "rect_activity_main.xml" (https://github.com/idoideas/Wear-Keyboard/blob/master/src/main/res/layout/rect_activity_my.xml) to your project's layout folder.
-
Download and add "MyActivity.java" (https://github.com/idoideas/Wear-Keyboard/blob/master/src/main/java/idoideas/com/keyboard/MyActivity.java) to your project's java folder.
-
Add "android.permission.VIBRATE" permission to your project's AndroidManifest.xml.
-
Add activity attributes in your AndroidManifest.xml as you wish (Example: https://github.com/idoideas/Wear-Keyboard/blob/master/src/main/AndroidManifest.xml).
-
Start "MyActivity" activity whenever you want to open the keyboard. (For example, When you click a button or clicking an EditText)
-
Use the "OK" button's "OnClickListener" (And the string "TextInput") in "MyActivity.java" to use the the text that the user typed.
It's that simple.
You can use it as freely as you want, Even change the design of the layout and the code of the java file.
But, Please notify in your Google Play Description That the keyboard your using in your Android Wear app is "Based on Wear-Keyboard by Ido Ideas" and link to this github repo (https://github.com/idoideas/Wear-Keyboard).
You can contact me through email: [email protected]
You can also send me emails about what you liked, what you didn't liked and what I need to change and I'll respond to all of them.