Im working in an app to modify the sounds when I key is press in the android soft-keyboard. I have download the sample soft-keyboard from Google. Now Im trying to figure out how to add sound to each or all the keys.
My question is: is it possible to assign a short customize sound to each key?
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.
Related
I am sorry if this question is frequently asked, simple to answer or not defined enough. I'll provide as many details as I can.
Anyway
You've probably heard of the app called Giphy. It's an app via which you can send GIF images to others. When you download the app, you also have an integrated keyboard which you can use instead of the standard keyboard you get with your phone
I just recently started learning flutter and I wanted to try and make a keyboard of my own. Is there a way to do that in flutter? If so, how do I do it?
You cannot create Keyboard input editor app in flutter, because it is very specific to native application. So try to create it natively for both Android and iOS.
Check below links, might help you:
For Android:
Create an input method editor (IME)
For iOS:
Creating a Custom Keyboard
Creating a Custom Keyboard In IOS…
I am working on a project on android. I want to attach Gboard into my application because I want to use its functions. I want to use Gboard pad for writing input. I don't want from the user to download Gboard separately. I want to make it a part of application. If possible kindly let me know how.
Id say it is not possible, cannot find anything for Gboard, even virtual keyboard api is deprecated since 2011.
You might want to take a look at creating your own input methods.
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 would like to program an android app that replaces the standard keyboard by one with the one-hand optimized Coffee++ keyboard layout.
What special problems would I have to face in the progress? I guess that such a project would go deep into the android core, cause the keyboard is such an essential thing.
Is it wise to start with the Android Developer Tools (ADT)—Eclipse Plugin as described in this tutorial?
Or is there a better way to achieve this goal?
I am new to Android programming, but very firm in PHP, Mysql and javascript and I already use Eclipse for PHP
I guess that such a project would go deep into the android core, cause the keyboard is such an essential thing.
No. You can create an InputMethodService that is the implementation of your keyboard. There is a sample soft keyboard in your Android SDK installation (if you chose to download sample code from the SDK Manager), and there are open source input methods floating around as well, such as the Hacker's Keyboard. This InputMethodService is then distributed as part of an ordinary Android application, and the user can elect to activate your input method if the user chooses.
Is it wise to start with the Android Developer Tools (ADT)—Eclipse Plugin as described in this tutorial?
That is a fine starting point. I would also recommend that you spend some time learning Java, then developing ordinary Android apps, to get a feel for how Android works.
When you are ready to work on the InputMethodService itself, the documentation can help guide you, and you are welcome to return here for more specific questions. However, bear in mind that writing a soft keyboard is not all that common, and so support resources for it may be a bit lacking.
A soft keyboard in Android is called a InputMethod, and you don't have to go too deep to be able to create one. Creating a InputMethod is fairly straight forward especially if the keyboard is normal button kind.
You can check the following links to get a start :
Android's Official Tutorial or you can check out this tutorial too to get a head start.
I would also recommend downloading the source code for LatinIME keyboard available for the developers to tinker with.
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.