Hi!
I have to write a file to external SD card.
For this I am using this ExternalStorage class:
https://www.b4x.com/android/forum/t...access-sd-cards-and-usb-sticks.90238/#content
My question is now:
How I can detect if the user stopped the choosing of a folder by pressing the BACK key (1 or more times).
In my code (while debugging my app), the debugger doesn't make any halt on any breakpoint after these 2 lines when I am testing exactly this case:
In the beginning of using this class ...when I initialize the ExternalStorage object with these commands ...
... how is the name of the event method within my activity code?
Sub Storage_???? () ....
I guess that the string "Storage" is part of the callSubDelayed string "Storage_ExternalFolderAvailable", right?
I hope, somebody can help very quickly.
Thanks a lot in advance.
Regards
ARTsoft
I have to write a file to external SD card.
For this I am using this ExternalStorage class:
https://www.b4x.com/android/forum/t...access-sd-cards-and-usb-sticks.90238/#content
My question is now:
How I can detect if the user stopped the choosing of a folder by pressing the BACK key (1 or more times).
In my code (while debugging my app), the debugger doesn't make any halt on any breakpoint after these 2 lines when I am testing exactly this case:
B4X:
Storage.SelectDir(False)
Wait For Storage_ExternalFolderAvailable
In the beginning of using this class ...when I initialize the ExternalStorage object with these commands ...
B4X:
If (Storage.IsInitialized == False) Then
Storage.Initialize(Me, "Storage")
End If
... how is the name of the event method within my activity code?
Sub Storage_???? () ....
I guess that the string "Storage" is part of the callSubDelayed string "Storage_ExternalFolderAvailable", right?
I hope, somebody can help very quickly.
Thanks a lot in advance.
Regards
ARTsoft
Last edited: