We have an app that is running on both iOS and Android. However, in the Android version, the keyboard is always set to caps-lock. In order to type in lower-case, the user will need to press shift for each letter.
We tried disabling textCapCharacters and using textCapSentences, but it did not fix the problem.
Sorry if I am not very clear. I am working for a publisher and the developer is in China. Let me know if you need clarification, and I will get it.
Check if there is something like below is set to that edit text.
android:capitalize="characters"
Related
I have a question. I wanted to develop an app that would add a shortcut to the keyboard (Samsung SoftKeyboard).
The shortcut should be accessible via the dots at the top right (see attachment).
I would like to add a circle ("floating") over my app, as shown in the picture on the right.
Something specific should then be carried out via this circle (but that's not the point yet).
I've done a little research, but don't really know what to look for.
I hope you can help me.
thanks in advance
Example
afaik there is no such possibility to add anything in there. it's another app with own custom settings and options, you can't edit such or change in any way. your last chance is possibility of published API/some communication way for that app, which would allow to add such actions, but I very doubt Samsung made such API for own keyboard app and allowed ANY 3rd-party app to mess in their software... (btw. that would be very insecure for user)
I am developing an Android application (Xamarin Forms) where the user will be entering personal and potentially sensitive information. I would like to prevent the keyboard from "learning" words that the user enters into the application.
I know it is possible for the user to manually delete learned words from their phone (as explained here: https://trendblog.net/delete-learned-words-android-keyboard/ ) but is it possible for an application, or specifically text entries, to tell Android to not learn from entered text?
In Xamarin Forms Entry, try turning off text prediction:
<Entry ... IsTextPredictionEnabled="false" />
I don't know whether that also disables "remembering" what you type. Try it, and leave a comment whether that worked.
If no cross-platform solution is suggested, then you'll need to make a "custom renderer" for Entry, in your .Android project.
There, behavior is controlled by the input type.
Try visible password or maybe no suggestions. (not sure exactly what those are in xamarin, but intellisense will show you the options, at the right place in the custom renderer's code.)
How can I implement an EditText that automatically fixes misspelled words when taping soft keyboard spacebar? I have seen this behavior on Whatsapp, for example if you write "aricle" and press spacebar it puts "article", same if you write "articl" or something like that, is that an Android behavior or a Whatsapp specialized behavior? I have tried with AutoCompleteTextView and setting autoText=true (although is deprecated I had to try)
Autocorrect is a feature of the keyboard that you use. But if you want to put this feature in your android application then you can use spelling checker framework offered by anroid. It lets you implement spelling checker in your android application with the help of android service.
For more details you can see below link
https://developer.android.com/guide/topics/text/spell-checker-framework.html#SpellCheckLifeCycle
And for example you can look into this link
https://code.tutsplus.com/tutorials/an-introduction-to-androids-spelling-checker-framework--cms-23754
I want to enable/disable the Android market programmatically for my kids app (with a checkbox). Is this possible? How?
Generally, no. You cannot affect the behaviour of other apps from your app. There are tricks that allow you to monitor what has been stated and you can bring your own app in the foreground to sort of 'block' it, but this is neither supported, nor guaranteed to work on all devices and Android versions.
To disable the play store, do as you would with any other app if you were going to delete it, however in replace of the delete buttin wil be a disable button.
If you do not want to disable it all together, you can open the app, click menu, and then settings, and then half way down on the list you are abe to set a passcode for purchases.
EDIT
I know hat you said programmatically, however this could still be a solution as to what you may be looking for instead as a workaround.
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.