shared file audio for whatsapp

fifiddu70

Well-Known Member
Licensed User
Longtime User
I have a program to play mp3 audio files, I need to share files with WhatsApp
I managed to save the mp3 files on the phone but WhatsApp does not show a hint?
 
You can use the library MESShareLibrary

Code:
Dim share As MESShareLibrary
File.Copy(File.DirAssets, "vivaldi.mp3", File.DirRootExternal, "vivaldi.mp3")
share.sharebinary ("file://" & File.DirRootExternal & "/vivaldi.mp3", "audio/mp3", "Send MP3", "Do you like it?")

it will open a window including all the apps compatible with the file type and the use will need to post then to whatsapp.
 
Upvote 0
thanks ;) so much
 
Upvote 0
Back
Top