in th attached picture number (1) is the DirInternal the b4a application return.
in th pic (2) is my real database path in the folder that called (ok)
what is the right way that let me access the database (d77.db) in the folder (ok)
i'm using the following code but idon't know how to navigate to my database in the folder (ok).
in th pic (2) is my real database path in the folder that called (ok)
what is the right way that let me access the database (d77.db) in the folder (ok)
i'm using the following code but idon't know how to navigate to my database in the folder (ok).
B4X:
If FirstTime Then
If File.Exists(File.DirInternal, "d77.db") = True Then
SQL1.Initialize(File.DirInternal, "d77.db", False)
Msgbox("connected","")
Else
Msgbox("NOT connected","")
End If
End If