oldeast Active Member Licensed User Longtime User Jan 10, 2016 #1 I can't load data into a webview from an SQLite database. I have checked the query and path to the db I have added #AdditionalJar: lib/sqlite-jdbc-3.8.11.2 The program compiles but the form loads briefly and closes. I have recreated the problem in a test file. Any help appreciated. sorry if its a stupid error! Attachments Test.zip Test.zip 72.9 KB · Views: 341
I can't load data into a webview from an SQLite database. I have checked the query and path to the db I have added #AdditionalJar: lib/sqlite-jdbc-3.8.11.2 The program compiles but the form loads briefly and closes. I have recreated the problem in a test file. Any help appreciated. sorry if its a stupid error!
Daestrum Expert Licensed User Longtime User Jan 10, 2016 #2 Change your line to read Code: DBFileDir = "../Data" It couldn't find the db file. or if you want to keep File.DirApp, change it to Code: DBFileDir = File.DirApp & "/../Data" Last edited: Jan 10, 2016 Upvote 0
Change your line to read Code: DBFileDir = "../Data" It couldn't find the db file. or if you want to keep File.DirApp, change it to Code: DBFileDir = File.DirApp & "/../Data"
oldeast Active Member Licensed User Longtime User Jan 10, 2016 #3 Many thanks.. its a project I am rewriting from B4A..so I didn't understand the directory coding. Well that's my excuse and I'm sticking to it. Upvote 0
Many thanks.. its a project I am rewriting from B4A..so I didn't understand the directory coding. Well that's my excuse and I'm sticking to it.