Hello everybody, I´m a beginner and I'm using the b4a bridge to connect a generic 7" tablet, the problem is:
After I insert some data in a SQLite database, when I'm debugging everything is fine, I look to the file on android/br.com.mypackage/files and the database is there with data that I insert before, but wheb I start a new debugging I lost all data and my database is empty, what should I do?
At a guess, either you're not committing the information to the database or you're opening a blank copy of the database on the initial open and not the one you've got open and have updated.
As Klaus has said, a little more info. would go a long way to helping!!
Perhaps you have a file.copy(file.dirassets,"your.db",etc...) somewhere in your activity_create or a sub called from there? If yes, you should execute it only if your db doesn't exist in your preferred folder, by using 'if file.exists(blah blah)=false'.