Create with local resources

Report a typo

Write a line to create a MediaPlayer with the R.raw.intro resource.

You don't have to additionally set CONTENT_TYPE or USAGES — write only one line to create a MediaPlayer.

You are provided with context.

Enter a short text
___

Create a free account to access the full topic