Is there a way to access Android's standard keyboard's auto-correct suggestions?
I have searched and searched through the Android APIs to no avail. This is close, but not quite there. Previous questions have been left unanswered, but I was hoping that maybe now it's possible?
If not, what's the next step from here? Do I...write my own dictionary? Buy one?
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
:)
My question is how to make a notification/listener when the keyboard disappear on Android platform. To be specific, it's a notification/listener just after keyboard disappear, like UIKeyboardDidHideNotification in iOS rather than UIKeyboardWillHideNotification
Before writing my question, i searched many many possible answers in Google and here, but they are neither what I'm looking for.It seems to be an piece of cake at the very beginning, however, I struggled whole week and got no good result.
Thanks
Is it possible to have the AutoCompleteTextView show the suggestions above the keyboard just like when using the default dictionary? (If yes, how:))
Or can I use my own database to show suggestion when using EditText?
Hope you understand what I mean:)
Thank you
Bastaixen
I don't think this is possible. The suggestions shown above the keyboard are actually part of the IME, so completely unrelated to your application / activity.
The only way to do this would be for you to build-in your own IME and then you can customize what suggestions would be there. You can base it on latinIME, but there are still a couple of things you would need to figure out:
You would need to figure out how to tell Android to use your custom IME in your app. Or, like this answer say, just build in the keyboard in your app.
if your user is using a different keyboard (for different language, or swype or something like that), they would probably not like it much...
I need some help with a project i'm doing. Hopefully someone can help me :)
I need to change the sound or click the keyboard makes whenever i'm typing in an editText. I need the sound/click to be whatever sound i may prefer (in wave-, mp3- or whatever format).
So, a couple of questions:
Can i change this in the already implemented keyboard?
Or should i make my own keyboard?
if the latter is the case, how do i do that? Can i find the source code somewhere?
I have been looking at other questions regarding how to make your own keyboard. e.g. How do I make my own keyboard for an app in android?
And if i have to make my own keyboard i want to look like this. But how to do it?
Can i change this in the already implemented keyboard?
You can't... it's already built and some manufactures provide their own keyboard implementations.
Or should i make my own keyboard?
Yes, you must.
If the latter is the case, how do i do that? Can i find the source code somewhere?
There are some open source projects of Keyboard implementations... for instance:
https://github.com/g1011999/Gingerbread-Keyboard/
http://code.google.com/p/softkeyboard/
There you can learn how to write your own keyboard, which is completely different from writing a conventional app.
My suggestion is to create a new fork of the Gingerbread-Keyboard (this supports Android 2.2 or higher only)... and then implement that specific change you want. For one of my apps I did so, and it's far easier than implementing the keyboard from scratch.
I am trying to control the behavior off a an IME keyboard.
For instance the keyboard I downloaded uses combinations of characters(
say if you press "ß" + "π" it suggests "∑"
I am making this example up.
I would like to turn off this feature.
Usually asian keyboards uses this feature.
I dont know the tech term for this. I looked at spannable but not very helpful.
Thanks
The Keyboard example that comes with the sdk shows how to do this, plus the keyboard that comes installed on the phone is open source.
Here is a link
If you have any specific questions after looking these over I am sure you will be able to find answers here! Good luck!
If the keyboard doesn't have the option to turn it off, then it probably cannot be done. I don't think there is such a option in Android that applies to all keyboards.