Android Question list whatsapp audio files

KZero

Active Member
Licensed User
Longtime User
this should work , don't forget to add the runtime permission for external storage
B4X:
    Dim lstAudio As List
    lstAudio =File.ListFiles(File.DirRootExternal & "/Whatsapp/Media/Whatsapp Audio")
    Log(lstAudio)
 
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
Try this sample:

Obviously you need to add runtime permissions to access memory.
The versioen in the example was for an earlier Android version
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…