J Juan Vargas (Bioagro) Member Licensed User Aug 21, 2020 #1 from this post https://www.b4x.com/android/forum/t...access-sd-cards-and-usb-sticks.90238/#content We can get the root sd card folder . Any sample on how copy a file or an entire folder from the internal folders to the sdcard, say, as a backup routine?
from this post https://www.b4x.com/android/forum/t...access-sd-cards-and-usb-sticks.90238/#content We can get the root sd card folder . Any sample on how copy a file or an entire folder from the internal folders to the sdcard, say, as a backup routine?
Erel B4X founder Staff member Licensed User Longtime User Aug 23, 2020 #2 Juan Vargas (Bioagro) said: We can get the root sd card folder . Click to expand... Only if the user selects it. You should use ExternalStorage.CreateNewFile + ExternalStorage.OpenOutputStream + File.Copy2. Make sure to close the output stream when done. Upvote 0
Juan Vargas (Bioagro) said: We can get the root sd card folder . Click to expand... Only if the user selects it. You should use ExternalStorage.CreateNewFile + ExternalStorage.OpenOutputStream + File.Copy2. Make sure to close the output stream when done.