Hi,
I have this code to create the Database file:
If FirstTime Then
sql1.Initialize(File.DirDefaultExternal, "test1.db", True)
End If
But I get this message:
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 1294): Could not open database
Error Code : 1294 (SQLITE_CANTOPEN_ENOENT)
AddManifestText(
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="26"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
AddManifestText(
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />
)
AddManifestText(
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />
)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.
Please Any Help?
Kinds,
I have this code to create the Database file:
If FirstTime Then
sql1.Initialize(File.DirDefaultExternal, "test1.db", True)
End If
But I get this message:
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 1294): Could not open database
Error Code : 1294 (SQLITE_CANTOPEN_ENOENT)
AddManifestText(
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="26"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
AddManifestText(
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />
)
AddManifestText(
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />
)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.
Please Any Help?
Kinds,