I download the sample code DBUtils
and I don't know How to use the DBUtils.CopyDBFromAssets
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
tttt=dbutils.CopyDBFromAssets("\1.db")
SQL.Initialize (File.DirRootExternal, tttt, True)
'SQL.Initialize(File.DirRootExternal, "1.db", True)
End If
.........................................................
how to find the 1.db files,who can tell me how to use the CopyDBFromAssets
the code
If FirstTime Then
tttt=dbutils.CopyDBFromAssets("\1.db")
SQL.Initialize (File.DirRootExternal, tttt, True)
run in error "java.io fileNoFoundException:\1.db
and I don't know How to use the DBUtils.CopyDBFromAssets
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
tttt=dbutils.CopyDBFromAssets("\1.db")
SQL.Initialize (File.DirRootExternal, tttt, True)
'SQL.Initialize(File.DirRootExternal, "1.db", True)
End If
.........................................................
how to find the 1.db files,who can tell me how to use the CopyDBFromAssets
the code
If FirstTime Then
tttt=dbutils.CopyDBFromAssets("\1.db")
SQL.Initialize (File.DirRootExternal, tttt, True)
run in error "java.io fileNoFoundException:\1.db
Last edited: