Hello:
I'm trying to open a media file (MP3, MP4) from my app, but i want it to open on the default media player, i found some ways using intents on java, and works on eclipse, but i can't find how to do it on Xamarin.
I Have the next code that works on Java:
Intent intent = new Intent(MediaStore.INTENT_ACTION_MUSIC_PLAYER);
File file = new File(songPath.toString());
intent.setDataAndType(Uri.fromFile(file), "audio/*");
startActivity(intent);
I Get this code from here: http://stackoverflow.com/questions/10867957/android-playing-a-song-file-using-default-music-player
I can't find the MediaStore in Xamarin, neither the INTENT_ACTION_MUSIC_PLAYER nor FILE.
I know it's easy to do it but i'm really stuck on this, please help me.
Thanks for all;