fifiddu70 Well-Known Member Licensed User Longtime User Jul 17, 2012 #1 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?
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?
Erel B4X founder Staff member Licensed User Longtime User Jul 18, 2012 #2 Have you tried to send an Intent with the audio file? There were several similar discussions about sharing content in the forum. Upvote 0
Have you tried to send an Intent with the audio file? There were several similar discussions about sharing content in the forum.
netkomm Active Member Licensed User Longtime User Feb 5, 2014 #3 You can use the library MESShareLibrary B4X: 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
You can use the library MESShareLibrary B4X: 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.
W wherrelz Member Licensed User Mar 20, 2016 #6 Was breaking my head with ahaShare for 3 hours - then I found this!! Thank you god for the person who made this lib <3 Upvote 0
Was breaking my head with ahaShare for 3 hours - then I found this!! Thank you god for the person who made this lib <3