Posts by mundo35 • 61 points
1 post
-
6
votes3
answers465
viewsQ: Media Player setDataSource
The function setDataSource() works with a url, but I need you to get a file from my raw (for example). I used: Uri url = Uri.parse("android.resource://" + ctx.getPackageName() + "/" + R.raw.file);…