Hi everyone,
I created alot of apps that required additional downloaded mp3 files after installation.
The app works perfect when the user installs it on the device storage and the default storage is the device storage too.
But unfortunately when the user sets the external SD card as the default storage, the app is installed perfectly but the app doesn’t play the mp3 files
Tried using Exo player and Taifun Player
What I need is how to set the path of the player files to read from external SDCard.
Please note that the files path is
File:///mnt/sdcard/android/appfolder/mp3files/
There is a standard folder in the internal SDcard:
/storage/emulated/0/Android/
So how did you create this folder? File:///mnt/sdcard/android/appfolder/mp3files/ (this path will never work)
which is the same as:
File:///storage/emulated/0/android/appfolder/mp3files/
(should be: file:///…/Android/…)
most of the components are not able to read from the external sdcard…
you can try using the correct path…
to find out the correct path to the external sdcard you can use the file extension and its AvailableStorageDirectories method https://puravidaapps.com/file.php
Taifun