R rclodfelter Member Licensed User Longtime User Feb 2, 2011 #1 Running the SQL tutorial in the paid version I got the error SQLiteException:unable to open database file. Is there something missing in the tutorial? Maybe a configuration issue? TIA
Running the SQL tutorial in the paid version I got the error SQLiteException:unable to open database file. Is there something missing in the tutorial? Maybe a configuration issue? TIA
J junaidahmed Well-Known Member Licensed User Longtime User Feb 2, 2011 #2 tell me database path Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 2, 2011 #3 Did you download the example file? Do you have a SD card? If your device is connected to the computer then it may lock the sd card. You can change the path: Change: B4X: SQL1.Initialize(File.DirDefaultExternal, "test1.db", True) To: B4X: SQL1.Initialize(File.DirInternal, "test1.db", True) Upvote 0
Did you download the example file? Do you have a SD card? If your device is connected to the computer then it may lock the sd card. You can change the path: Change: B4X: SQL1.Initialize(File.DirDefaultExternal, "test1.db", True) To: B4X: SQL1.Initialize(File.DirInternal, "test1.db", True)
R rclodfelter Member Licensed User Longtime User Feb 2, 2011 #4 I'm using the Android emulator. Changing to Internal rather than external got me further. I get a big smiley face now. Not sure what to do with it. Upvote 0
I'm using the Android emulator. Changing to Internal rather than external got me further. I get a big smiley face now. Not sure what to do with it.
R rclodfelter Member Licensed User Longtime User Feb 2, 2011 #5 I took another look at the code and see where it inputs a blob (smiley.gif) and outputs that, so I guess it worked. Thanks! Upvote 0
I took another look at the code and see where it inputs a blob (smiley.gif) and outputs that, so I guess it worked. Thanks!