I've been working on a basic music player app.
I am trying to keep questions concise and so not put too much code or irrelevant info.
Basically, I want to add all mp3/m4a/wma to a long List of Strings. But no matter what methods I call from different libraries I cannot get it.
Here's what I've ended up with:
        string musicPath = Android.OS.Environment.GetExternalStoragePublicDirectory(Android.OS.Environment.DirectoryMusic).AbsolutePath;
        string musicPath_sd = GetExternalFilesDir(Android.OS.Environment.DirectoryMusic).ToString();
        Log.Info("FILEPATHS TAG", "phone memory music directory path is: " + musicPath);
        Log.Info("FILEPATHS TAG", "sdcard music directory path is: " + musicPath_sd);
So the string musicPath is fine and returns:
Time    Device Name Type    PID Tag Message
FILEPATHS TAG   phone memory music directory path is: /storage/emulated/0/Music
FILEPATHS TAG   sdcard music directory path is: /storage/emulated/0/Music
As you can see the 'sdcard music directory' is returnign the exact same location, but really it should be: storage/**extSdCard**/MUSIC (I  know this because I browsed to the songs on my phone in EZ File Explorer and checked the info button which displays the path.
I am using Samsung Note 3 on Android 5.0 API 21 as physical debugging device