Spright
Active Member
I'm trying to understand how to save using Content Chooser, so the user can give a name to the file
I have been trying my best to find something similiar on the forum to guide me, and I found a Loader using the same technique.
How could I trig a Save requester and get the filename and path from the user?
I have been trying my best to find something similiar on the forum to guide me, and I found a Loader using the same technique.
How could I trig a Save requester and get the filename and path from the user?
B4X:
Definitions
Dim Chooser As ContentChooser
' Load Trigger
Chooser.Initialize("chooser")
Chooser.Show("image/*", "Select an image")
' Load Callback
Sub chooser_Result (Success As Boolean, Dir As String, FileName As String)
If Success Then
Log("Loading")
Log(Dir)
Log(FileName)
Else
ToastMessageShow("No image selected", True)
End If
End Sub