Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

play mp3

hello
i try below code to play mp3 with android os media player , but it not working
please help me...

Intent intent = new Intent(Intent.ActionView);
intent.SetDataAndType(Uri.Parse(t), "audio/*");
intent.SetFlags(ActivityFlags.ClearTop);
//StartActivity(intent);
StartService(intent);

Sign In or Register to comment.