B4X:
Sub Service_Create
'This is the program entry point.
'This is a good place to load resources that are not specific to a single activity.
Log("starting")
If File.Exists(File.DirInternal,"dddNorm.db") = False Then
File.Copy(File.DirAssets,"dddNorm.db",File.DirInternal,"dddNorm.db")
End If
Sql1.Initialize(File.DirInternal,"golunch.db",True)
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14 SQLITE_CANTOPEN): Could not open database
I tried to intercept the running flow but even when I put a break point in the first line of Service_Create on Starter service the error still occurs. I initialize a database there (as the follows code shows), but the code appears that isn't arriving there. I really don't know anymore how to debug as I can't intercept the error (doesn't matter if I put the break point on the first line of starter running in debug mode, the error still occurs ) . What is happening ?? Please , anybody can help me?