I would like to remove the "settings" and the "paste" keys in the keyboard (EditText). How can I achieve this?
Thanks in advance!
EDIT:
About possible duplicate with this thread: How to disable copy/paste from/to EditText, my question is a bit different. I am not trying to find a way to cancel the paste function in any keyboard the user may choose. In my context, the app is in kiosk mode, so user has not the privileges to change anything. And that exactly why I do not want him being able to change any keyboard config using that "setting" key in the android default keyboard...
Related
One, probably a stupid question.
Is it possible to choose which keys to appear on Android keyboard (other than just setting input type)?
For example, can I specify I only want to show keys:
0,1,2,3,4,5,6,7,8,9,A,B?
Or should I write completely custom keyboard for it?
I don't care about layout and styling.
I need it only for one activity.
Is it possible to choose which keys to appear on Android keyboard (other than just setting input type)?
Write your own input method editor and hope that the user elects to enable and use it.
Otherwise, no.
can I specify I only want to show keys: 0,1,2,3,4,5,6,7,8,9,A,B?
No. Bear in mind that there are hundreds of input method editors, not just one. Unless you are deploying only to a single device model, there will be many editors that your users will encounter.
i want to make an android app that works in background and get's what key is pressed in keyboard and throw Equivalent of it in another language,for example persian or arabic.
how can i do this?
thanks for your help.
I doubt you can write such APP, this would violate lots of security measures in android. But you can write your own custom soft keyboard:
How to develop a soft keyboard for Android?
user will have to choose your keyboard explicitly in settings. You will be able to do all the translations inside your keyboard.
I have only a EditText in my fragment. I want user not to use Swype Keyboard for that particular EditText. How can I disable it and allow user to type using other keyboard available.
The keyboard used is ultimately up to the user to decide and can not be changed by a developer without really going against Androids guidelines.
I believe that you cannot change your default keyboard by code with standard SDK...
The solution you can implement is send the user to the settings so he can change it.
See THIS POST that explains how to do it.
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.
Currently I am busy with designing keyboard maximum functionality of the keyboard has been completed at that time i am facing a problem regard setting of this key board like Speed of typing, spell checking, suggestion box and other think i know this is control by Preference.
But i don't know about how to add preference in android setting.
Means user control this keyboard setting by these following step.
Settings >Language and Keyboard >My Keyboard name > Setting of this Keyboard.
Can any one told me hoe can it possible thanks in advance.
You will have to create your own custom firmware.
Perhaps this question and answer covers what you want to do?