Android Question Copy File On DirRootExternal With ExternalStorage

rasoull_021

New Member
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
Top