Hi,
I’m trying to get my first application in Framework7.
I guess I took a big bite. I don’t know what to do with the keyboard.
Thank you for any help or idea how to solve the problem.
My goal:
Application running on Android device ZEBRA TC25.
Input form. The EAN code is read by the scanner, the device inserts the EAN into the input field.
The problem is the keyboard that opens automatically when focus input is made.
The user must not enter anything into input - only barcode scanner data.
Attempt 1 - NOT WORKING (https://pastebin.com/ai2gqKKb)
// Page Events
on: {
pageInit: function(e, page) {
var self = this;
console.log(‘acrivate blur():’);
document.getElementById(“barcode_1”).blur();
**Attempt 2 - NOT WORKING ** (https://pastebin.com/pVCaYr0D)
app/cordova/config.xml
add:
**Attempt 3 - NOT WORKING ** (https://pastebin.com/LQcg7rf9)
app/cordova/config.xml
add:
**Attempt 4 - NOT WORKING ** (https://pastebin.com/8sinGQef)
app/cordova/config.xml
add:
**Attempt 5 - NOT WORKING ** (https://pastebin.com/aXRDt2DJ)
app/cordova/platforms/android/app/src/main/AndroidManifest.xml
add:
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:screenOrientation="portrait" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:windowSoftInputMode="stateAlwaysHidden">