B4A : 8.5
There is simple program which connect directly to MySQL database using mysql-connector-java-5.1.34-bin.jar.
This program work with Android Version 6 but not working with 4.2.2
Debug Log shows following error
java.lang.NumberFormatException: Invalid double: "Version"
java.lang.RuntimeException: Unable to create service b4a.example.starter: java.lang.RuntimeException: java.io.FileNotFoundException: /storage/emulated/0/Android/data/b4a.example/files/virtual_assets/1.bal: open failed: ENOENT (No such file or directory)
Mainfest file:
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="16"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.DarkTheme)
There is simple program which connect directly to MySQL database using mysql-connector-java-5.1.34-bin.jar.
This program work with Android Version 6 but not working with 4.2.2
Debug Log shows following error
java.lang.NumberFormatException: Invalid double: "Version"
java.lang.RuntimeException: Unable to create service b4a.example.starter: java.lang.RuntimeException: java.io.FileNotFoundException: /storage/emulated/0/Android/data/b4a.example/files/virtual_assets/1.bal: open failed: ENOENT (No such file or directory)
Mainfest file:
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="16"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.DarkTheme)
Last edited: