I'm using DBUtils to access my SQL Lite DB. It works fines in many tests. But looking at Google Developer Console for errors, I found many error associated to :
java.lang.RuntimeException: Object should first be initialized.
at anywheresoftware.b4a.sql.SQL.checkNull(SQL.java:48)
at anywheresoftware.b4a.sql.SQL.ExecQuery2(SQL.java:166)
Just opened my Database using : SQL_CONN.Initialize(global.dbDir, Database_Name, True)
And passes SQL_CONN to all DBUtils Methods.
It there any situation that my Connection gets closed?
It would be a valid solution to use Conn.IsInitialized before any query? And if it returns False, then open database again?