What I do is:
1. Connect B4A to phone using B4A-Bridge with "FTP-Server" enabled
2. In B4A menu, Tools -> B4A Bridge -> File Explorer, browse to the phone storage.
The address looks like this ftp://172.20.10.7:6781/Android/data/com.puterise.learn/files/
3. Copy the data.db file to the PC or desktop. Now I have the db file.
4. To create a dump file, I use DB Browser for SQLite (
https://sqlitebrowser.org/ ). Open the data.db
5. Open menu File, Export -> Database to SQL file...
6. "Select All" tables and any options or just leave as default then click OK button
7. Save as data.db.sql file.