Mp3 Player - Play Music Offline

Device - Panasonic P100
Version - 7
Showing same error or different

But Taifun’s File ext. usually (at least for newer Android versions) does not return such a path of an external (removable) SD card:

/storage/extSdCard

should be somthing like this:

Have you hard-coded this path?

Update
09/06/20

APK file is updated.

I request @bodymindpower to test this once again and if @bodymindpower face any error any error again, please report to me.

Thanks to @Kushagra and @bodymindpower for there suggestion and feedback and ofcouse Kodular and Extension Developers.

No, it’s the same.

Wouldn’t you like to give credits to respected extension developers?

2 Likes

Yes, now it is updated:

Now the app starts, but I get this: “No Song Found in internal storage”.
(Xiaomi Redmi Note5, Android 9).

I have no time to test also on other devices …

This error shows there is no mp3 file available in your device internal storage.

Done, Thanks for remember me.

Of course there are mp3 files and in the internal storage and also on the external (removable) SD card.

Can be please tell be the absolute internal and external storage path so I can get mp3 file from both internal and external storage. I used Taifun File extension to get storage directory path but may be problem is raising here to get path.

thank you for using the file extension and player extension

use Do it to debug your blocks…
a full path starts with file:///, for example
file:///storage/emulated/0/Music… EDIT: file path corrected, thank you @bodymindpower
file:///storage/02C3-E96C/Music…
also you might want to provide a screenshot of your relevant blocks…

Taifun

2 Likes

Internal Storage Directory path ;
/storage/emulated/0/
External Storage Directory path file:///storage/extSdCard/

I am using these Directory paths to get mp3 files from all folders available in these directories.
Will there directory path works in every Android device ?

For clarification:
The path file:///mnt/storage/0/ does not exist,
should be: file:///mnt/sdcard/Music/ or:

As I already said, read this:

If I use /storage/82C3-E96C/ as external storage directory path, will it work for every Android device ?

As I said, you have to get the paths at runtime. You cannot use absolute paths.

This post was flagged by the community and is temporarily hidden.

Please help me how can I do this ?

the file extension offers the method AvailableStorageDirectories for this
Taifun

@Taifun We already talked about this, in post #16:

I think everything necessary has already been said.

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