D DursunBolat Member Oct 9, 2018 #1 I found the sample application from here. I can do operations in the application. But I checked the database. I don't see what I do. Attachments SQLiteLight2.zip SQLiteLight2.zip 18.2 KB · Views: 290
I found the sample application from here. I can do operations in the application. But I checked the database. I don't see what I do.
Myr0n Active Member Licensed User Longtime User Oct 9, 2018 #2 Can you post more information please, and will try to help you. What is your android version? Did you get any error? Are you running the app in a physical o emulator device? What version of b4a are you using? Upvote 0
Can you post more information please, and will try to help you. What is your android version? Did you get any error? Are you running the app in a physical o emulator device? What version of b4a are you using?
D DursunBolat Member Oct 9, 2018 #3 Android version 4.2.2 No Error Yes. 8.5.0.0 I do not see operations in the database Upvote 0
klaus Expert Licensed User Longtime User Oct 9, 2018 #4 You must comment this line in the Starter Module: File.Delete(File.DirInternal, "persons.db") ' only for testing, removes the database Upvote 0
You must comment this line in the Starter Module: File.Delete(File.DirInternal, "persons.db") ' only for testing, removes the database
D DursunBolat Member Oct 9, 2018 #5 I got the error. Attachments hata.png 20.8 KB · Views: 326 Upvote 0
klaus Expert Licensed User Longtime User Oct 9, 2018 #6 Try to uncomment the line: File.Delete(File.DirInternal, "persons.db") ' only for testing, removes the database This deletes the current database from your device and the program saves the default database on the device and then run the program, does it work? If yes, uncomment the line above and run the program. Upvote 0
Try to uncomment the line: File.Delete(File.DirInternal, "persons.db") ' only for testing, removes the database This deletes the current database from your device and the program saves the default database on the device and then run the program, does it work? If yes, uncomment the line above and run the program.
D DursunBolat Member Oct 10, 2018 #7 The problem continues. I'm doing things in application. Does not appear in the database. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 10, 2018 #8 You should post your updated project. Upvote 0
D DursunBolat Member Oct 10, 2018 #9 Updated Project. My problem is, I'm doing transactions in the application. Operations do not appear in the database. Attachments SQLiteLight.zip SQLiteLight.zip 19.3 KB · Views: 290 Last edited: Oct 10, 2018 Upvote 0
Updated Project. My problem is, I'm doing transactions in the application. Operations do not appear in the database.
D DursunBolat Member Oct 10, 2018 #10 No problem. I understand. The application keeps it in the database. I was doing control from the database on the pc. Upvote 0
No problem. I understand. The application keeps it in the database. I was doing control from the database on the pc.
klaus Expert Licensed User Longtime User Oct 10, 2018 #11 I tested the program, I edited and entry and I added a new entry, this works as expected. Returning to the Main activity shows the changes and leaving the program and restarting it shows also the changes. So, how and where do you check the database to say that there are no changes? Upvote 0
I tested the program, I edited and entry and I added a new entry, this works as expected. Returning to the Main activity shows the changes and leaving the program and restarting it shows also the changes. So, how and where do you check the database to say that there are no changes?