Hi All
The firs thing my app does is check the existence of the db file and if it doesn't exist, it creates it. This works fine on my device but not on the emulator.
It falls over on the Initialise line with 'Could not open database' exception.
Any ideas?
The firs thing my app does is check the existence of the db file and if it doesn't exist, it creates it. This works fine on my device but not on the emulator.
B4X:
File.MakeDir(File.DirRootExternal, "MyApp/database")
If File.Exists(File.DirRootExternal, "MyApp/database/MyApp.db") = False Then
dbSQL.Initialize(File.DirRootExternal, "MyApp/database/MyApp.db", True)
...
End if
It falls over on the Initialise line with 'Could not open database' exception.
Any ideas?