Hello,
I'm trying to copy a database from the assets to the device, but I'm getting an error FileNotFoundException.
The db file is in the files manager.
I use the command
I declared the following variables:
Any idea?
Thx,
Dominique
I'm trying to copy a database from the assets to the device, but I'm getting an error FileNotFoundException.
The db file is in the files manager.
I use the command
B4X:
File.Copy(File.DirAssets, DBFileName, DBFileDir, DBFileName)
B4X:
Public DBFileName = "kassa.db" As String
Public DBFileDir = File.DirDefaultExternal As String
Any idea?
Thx,
Dominique