Android Question [SOLVED] Copy database file

jroriz

Active Member
Licensed User
Longtime User
I need to copy the entire database file from a user to try to reproduce an error.

I open the database with
B4X:
Main.SQL1.Initialize(xui.DefaultFolder, "safety.db", True)
log(xui.DefaultFolder)

The log shows "sqldatabasepath /data/user/0/safety.sisweb.app/files".

It is possible?

I didn't find the file using the Android Files app.
 

asales

Expert
Licensed User
Longtime User
2 sugestions:
1 - use the SaveAs to let the user choose the folder to save the database (like Documents)
2 - Share the file using an intent.
 
Upvote 0
Top