no using external storage
(due to security - since cannot passwork protect the database)
using the following, the product.db exist on my bas (main direcory) also tried under files dir.
my code is
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("AssembleList") 'Load the layout file.
If SQL1.IsInitialized = False Then
SQL1.Initialize(File.DirDefaultExternal,"Products.db", False)
End If
End Sub
getting error:
"unable to open databse file"
tried also changing the file.Dir to
SQL1.Initialize(File.DirInternal,"Products.db", False)
SQL1.Initialize(File.DirAssets,"Products.db", False)
SQL1.Initialize(File.DirRootExternal,"Products.db", False)
please help
(due to security - since cannot passwork protect the database)
using the following, the product.db exist on my bas (main direcory) also tried under files dir.
my code is
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("AssembleList") 'Load the layout file.
If SQL1.IsInitialized = False Then
SQL1.Initialize(File.DirDefaultExternal,"Products.db", False)
End If
End Sub
getting error:
"unable to open databse file"
tried also changing the file.Dir to
SQL1.Initialize(File.DirInternal,"Products.db", False)
SQL1.Initialize(File.DirAssets,"Products.db", False)
SQL1.Initialize(File.DirRootExternal,"Products.db", False)
please help