Android Question Use path for backups

angel_

Well-Known Member
Licensed User
Longtime User
I want the user to be able to select a folder (or file) and save that path for file backups. I've been trying saveas, but from what I can't see, it's not possible to get that path and use it to save files. I also need it for B4A and B4i. Is there a solution?
 
Solution
SaveAs - allows you to save a single file in the destination the user chose. It can be a folder on the device or it can be a remote service such as Google Drive.
You can combine it with ContentChooser to let the user restore a saved backup.
Cross platform example: [B4X] TextEditor - Save and load external files

Another option is to use ExternalStorage and let the user choose a specific folder. You will then be able to access it in the future (in most cases).
This feature isn't exactly available in iOS.

Erel

B4X founder
Staff member
Licensed User
Longtime User
SaveAs - allows you to save a single file in the destination the user chose. It can be a folder on the device or it can be a remote service such as Google Drive.
You can combine it with ContentChooser to let the user restore a saved backup.
Cross platform example: [B4X] TextEditor - Save and load external files

Another option is to use ExternalStorage and let the user choose a specific folder. You will then be able to access it in the future (in most cases).
This feature isn't exactly available in iOS.
 
Upvote 0
Solution
Top