How do I make a playlist of audio files stored in mobile?

This is result

Yes, there was a mistake (on devices without a removalble microSDcard)...
I'll upload the correct APK in 2 min ...

And here is the app that won't re-add the same picked song to the playlist.

Yes .... it working smoothly ... How?

I've made a few small adjustments, in particular the music titles are now added to the playlist immediately and not only after restarting the app.

Its coooolll .... I don't have to reopen the app and change the buttons too ..... thank you so much

1 Like

There were several issues with your app:

  1. The Player component cannot play audio files from a removable SD card.
  2. It works with the URI only when an audio file is picked. And not if you do it later using the ListPicker or ListView. Then a real path (absolute or better full path) is required, because audio files from a removable SDcard can only be played with a full path.
  3. I used the TaifunPlayer from @Taifun in my test app.
  4. I used Sunny's FileTools extension (@vknow360) to get a real path from URI.
  5. I used my MyFonts extension (and MaterialIcons.ttf) for the Play/Pause/Stop buttons.

You now have all the information to try it yourself.

2 Likes

Thank you very much for these information ..... Let me try :slightly_smiling_face:

@Anke Done it with the help of guidance .... its play on click and don't have to reopen the app. .... Thank you :slightly_smiling_face:
Still struggling with the %20 .... there are some solutions in this community but not succeed .... Can you tell me a solution please?

There shouldn't be any problem with that. Post the aia (or send it to me via PM).

Ok, I checked your aia. But it's going to be too much work for me to rebuild everything for you.
So try my app (in this version, however, without the option to select audio files from a removable SDcard).

1 Like

1 Like

Thank you again for so much efforts ...

I forgot to add the aia: MusicPlaylist_2b.aia (120.0 KB)

1 Like

:laughing: it was nice to rebuild as you guided but getting a error .... let me check your aia, then let you know ....

@Anke It's perfect for me ..... before close this topic please let me know ..... what to display in the app to credit you and other extension builders?

Not necessary as far as I'm concerned.

And be aware that with this version of my app no audio files can be picked from a removable microSDcard. This gets a bit more complicated as the paths need to be adjusted.

1 Like

Ok

Thank you very much :pray: appreciate your help.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.