Hello. I am currently working on managing sounds recorded or downloaded on external storage on my Smartphone.
I can read and play MP3 sounds with exoplayer and for other sounds (3gp, flac, wav, mid) I want to use the Android player of my device (which reads and plays all these sounds very well) with ContentChooser but I systematically get the following message:
"No application can perform this action."
I can read and play MP3 sounds with exoplayer and for other sounds (3gp, flac, wav, mid) I want to use the Android player of my device (which reads and plays all these sounds very well) with ContentChooser but I systematically get the following message:
"No application can perform this action."
Sub CLV1_ItemLongClick:
Sub CLV1_ItemLongClick(Index As Int, Value As Object)
Dim suffix As String, ls As Int
SongName = ListSongName.Get(Index)
Storage.FindFile(Storage.Root,SongName)
ls = SongName.length
suffix = SongName.SubString2(ls-3, ls)
Log (suffix)
If suffix <> "mp3" Then
Chooser.Show(File.DirInternal,SongName)
Else
Player1.Prepare(Player1.CreateFileSource(File.DirInternal,SongName))
JukeBox.Player = Player1
Label1.Text = " Music Title: " & SongName
Player1.Play
End If
End Sub