Android Question Keyboard Problem with Android 8 Oreo

Paulsche

Well-Known Member
Licensed User
Longtime User
Hi,

More and more users report that since Android 8 Oreo Update no more decimals with semicolon and dot can be entered.
Is the problem known and is there a solution?
 
Last edited:

Paulsche

Well-Known Member
Licensed User
Longtime User
This is how the keyboard looks to the users, without dot and comma.
 
Upvote 0

Paulsche

Well-Known Member
Licensed User
Longtime User
B4X:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE"/>
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="22"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:theme, "@style/MyAppTheme")

CreateResource(values-v20, theme.xml,
<resources>
   <style name="MyAppTheme" parent="@android:style/Theme.Material.Light">
   </style>
</resources>
)CreateResource(values-v14, theme.xml,
<resources>
  <style name="MyAppTheme" parent="@android:style/Theme.Holo.Light">
  </style>
</resources>
)

EDT01datLiterpreis.InputType = EDT01datLiterpreis.INPUT_TYPE_DECIMAL_NUMBERS

i use IME only for Showkeyboard/Hidekeyboard
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
FWIW, it works fine here:



It is the responsibility of the set keyboard app to properly respect the input type. I guess that the device with this issue uses a problematic keyboard. You can ask the user to try it with a different keyboard.

Another option: https://www.b4x.com/android/forum/threads/customview-numpad.64191/#content

Another option: Use text input type and check whether the value is a number with IsNumber.
 
Upvote 0

Paulsche

Well-Known Member
Licensed User
Longtime User
Apparently, it only affects the Samsung Galaxy A3 and A5 2017 devices
with Android 8.0,
where the problem with the keyboard can occur.
I've got a Galaxy A5 2017 for testing and updated it to Android 8.0, but I have no problem, comma and dot are displayed.
Strange.
 

Attachments

  • Screenshot_20180624-082433.jpg
    214.1 KB · Views: 169
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…