I have created an application where I read data from a MySQL database. Access to the database is working under debug mode, but not under release mode.
The Library mySQL I use so:
B4X:
'Connecting to database
DB.setDatabase("mysql_Server","DB_Name","user","Passwort")
'Query the data
Liste = DB.Query("select DATE_TIME, CPU_STATUS from TBL_MESSWERT;")
If Liste.IsInitialized=False Then
Msgbox("No data access!","Warnung")
Else
'Here the data are evaluated
End If
But it will always output the Msgbbox under Release and Debug (Rapid) it works. Has one of you a an idea what could be wrong?
I use BVA version 5.20, phone with Android 4.2.2, Java 8.0.600.26
Thanks for any help!
Search the forum for, "AddPermission"
You'll find a list with all possible permissions. Just copy the two needed lines and add them at the end of your manifesteditor