I thought about implementing kind of a soft keyboard for Android that wrap other soft keyboard to extend their functionality.
For example:
Add view above Google Keyboard (screenshot) so that I can add emoji button, copy & paste button etc. and still use functionality from Google Keyboard such as Gesture Typing.
So:
Is there any API to implement this kind of keyboard
If there is no API available can it possibly be done on rooted devices
Thanks for any help
All you have to do is create an IME in Android http://developer.android.com/guide/topics/text/creating-input-method.html
there's an example that come with ADT that you can use to start in the folder
~\~\~\sdk\sources\android-XX\android
Related
What I need is to add a custom key to android keyboard. I know I can implement my own keyboard but implementing all the functionalities (dictionary, swipe, microphone button etc) sounds like a lot of work. I see two solutions:
modify system keyboard (I expect it not to be possible, but it's
sometimes good to ask :))
create my own keyboard but somehow deriving it from existing one
Is any of these possible? Any other ideas?
After an investigation, answers are:
not possible
not possible
:)
I want to implement the keyboard of google wallet. Anyone know how to do that. The keyboard is on the page. Not the system default keyboard. Thank you Or how can I draw a keyboard?
this Link Android custom numeric keyboard will help you figure this problem
You can easily see how Google implemented the keyboard by downloading the Google Wallet APK (or by rooting your phone and pulling the APK off) and unpacking/decompiling it with your tool of choice (e.g. Procyon, CFR, JD, etc.). I can only speculate, but I think they did this to minimize the possibility of a third-party keyboard app logging the input, and so that they can "shred" the PIN in memory as soon as it has been used.
The keypad is just a bunch of buttons laid out as a table/grid, and the buttons are customized to have the subscript effect (i.e. 2ABC) using SpannableStrings.
After decompiling, you can find what you're interested in by looking at the com.google.android.apps.wallet.pin package, specifically the PinButton class. Also, look at the /res/layout/pin_view.xml layout and its includes (pin_fields.xml and pin_pad.xml).
I am working on an Android chatting application. I need to show, a smileys or emoji's keyboard, like that of 'Whats App'. Is there any such default keyboard for Android? If yes, how do I implement it?
This largely depends on what the user currently has installed. I use SwiftKey on my phone so I have the ability to use the Emoji's. If you are willing to put in the effort to create your own Emoji keyboard then toobsco42 has a great basic explanation of the process as well as a link to a repo that you can use.
i would say start by getting the font with all the unicode charset for your application and render them in an layout invoked on the button in your input field.
One of the website to create custom fonts : icomoon.io
Hey this is a simple question but i can't seem to find an answer for it.
I'm intrested in creating something like a smilies keyboard to be added to the native keyboard so a person can add them in emails/SMS etc.
Now i guess i can edit the OS itself and add it to keyboard, but i was wondering if i can attach to the event that opens the keyboard and edit it?
Again, i'm NOT intrested in a custom keyboard inside my app, i want while my app is open (if possible without, better) to change the regular keyboard.
Is this possible?
i was wondering if i can attach to the event that opens the keyboard and edit it?
No, sorry. That is a different application than yours; you cannot change it at runtime.
You are welcome to build your own input method editor and use that, though. Or, perhaps you could make a contribution to some existing open source input method editor project.
I am trying to develop a emoticon keyboard for Android. I would like for the user to be able to purchase the app and install the emoticons to use with their keyboard for text and social networking my emoticons are graphics would I have to create a softkeyboard? how can I go about making this app any source codes advice would be appreciated I am new to app development its nothing like web..PLEASE HELP!!
I am trying to develop a emoticon keyboard for Android
Please bear in mind that most people do not speak exclusively in emoticons. Either you will need to create a full natural-language soft keyboard that also has emoticons, or users will have to flip back and forth between their regular soft keyboard and yours. The latter seems unlikely to be popular.
would I have to create a softkeyboard?
You are asking to create a soft keyboard.
how can I go about making this app
There is a SoftKeyboard sample app in your SDK that you can use as a starting point. Beyond that, search for tutorials on how to create an InputMethodService.