I can update a SQLite db in File.DirRootExternal, but I want to do the same directly to a SQLite db on my pc.
Using a wireless connection, with full read/write permissions on the folder and the SQLite db, the following code works perfectly, and finds the db in the Shared folder on my pc.
Dim SMB1 As SMB
SMB1.Initialize("SMB1")
SMB1.SetCredentials("MyLogin","MyPassword","")
SMB1.ListFiles("smb://MyPC/Shared/", "")
However, the following attempt to open the db on the pc fails with the message:
"android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database"
Dim SQL1 As SQL
Dim SMB1 As SMB
SMB1.Initialize("SMB1")
SMB1.SetCredentials("MyLogin","MyPassword","")
SQL1.initialize("smb://HP/Shared/","MySQlite.db", False)
Should this work, and then allow me to insert records ?
Using a wireless connection, with full read/write permissions on the folder and the SQLite db, the following code works perfectly, and finds the db in the Shared folder on my pc.
Dim SMB1 As SMB
SMB1.Initialize("SMB1")
SMB1.SetCredentials("MyLogin","MyPassword","")
SMB1.ListFiles("smb://MyPC/Shared/", "")
However, the following attempt to open the db on the pc fails with the message:
"android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database"
Dim SQL1 As SQL
Dim SMB1 As SMB
SMB1.Initialize("SMB1")
SMB1.SetCredentials("MyLogin","MyPassword","")
SQL1.initialize("smb://HP/Shared/","MySQlite.db", False)
Should this work, and then allow me to insert records ?