I am having a problem with an android app where soft keyboards will only send across one character to a target texteditor component if predictive text is switched on. Predictive text is not a particularly important feature for us on this app, but my efforts to switch it off have so far fallen flat.
I’ve seen it suggested that setting outAttrs.inputType in onCreateInputConnection to TYPE_TEXT_FLAG_NO_SUGGESTIONS might turn predictive text off. Using android studio I have been able to put breakpoints in my .java file and found that when the texeditor component gains focus ‘showKeyboard’ is called as expected, but breakpoints set in onCreateInputConnection are not being hit at any point in the programs run. Is this expected?
This problem was seen on a Galaxy Tab A running 6.0.1 and a Nexus 7 running Android 4.4.2, with an app build using JUCE 4.2.3.