Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Why the player doesn't play?

$
0
0

AsyncPlayer player = new AsyncPlayer("mp3 player");
            Android.Net.Uri uri = Android.Net.Uri.Parse("file:///android_asset/test.mp3");
            player.Play(Android.App.Application.Context, uri, true, Stream.Music);

What am I doing wrong?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>