rasoull_021 New Member May 20, 2021 #1 Hello, How can I copy a file from DirInternal to DirRootExternal in Android 10?
Erel B4X founder Staff member Licensed User Longtime User May 20, 2021 #2 The various options are listed here: SaveAs - Let the user select a target folder Upvote 0
rasoull_021 New Member May 20, 2021 #3 Erel said: The various options are listed here: SaveAs - Let the user select a target folder Click to expand... Thanks,I used the external storage class to save, but I have trouble refreshing the image to display in the gallery, in previous versions of Android I used the following code, how should I use this code with this class? B4X: Sub RefreshGallery(name As String) Dim i1 As Intent i1.Initialize("android.intent.action.MEDIA_SCANNER_SCAN_FILE", _ "file://" & File.Combine(Path,name)) phone.SendBroadcastIntent(i1) End Sub Upvote 0
Erel said: The various options are listed here: SaveAs - Let the user select a target folder Click to expand... Thanks,I used the external storage class to save, but I have trouble refreshing the image to display in the gallery, in previous versions of Android I used the following code, how should I use this code with this class? B4X: Sub RefreshGallery(name As String) Dim i1 As Intent i1.Initialize("android.intent.action.MEDIA_SCANNER_SCAN_FILE", _ "file://" & File.Combine(Path,name)) phone.SendBroadcastIntent(i1) End Sub
Erel B4X founder Staff member Licensed User Longtime User May 20, 2021 #4 See the first search result: https://www.b4x.com/android/forum/pages/results/?query=gallery Upvote 0