Android Question list whatsapp audio files

DonManfred

Expert
Licensed User
Longtime User
I don´t think there is a way. There is no Api from Whatsapp.

You probably can use contentChooser but i fear you can not limit it to list only Whatapp audio files.
 
Upvote 0

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
Top