Thanks for the reply Steve.
I have the following in my MainActivity.java:
MediaPlayer mediaPlayer = MediaPlayer.create(context, R.raw.mysound);
But Studio doesn't like context for some reason (cannot resolve symbol). I do
On Wednesday, November 30, 2016 at 6:10:31 PM UTC-6, Steve Gabrilowitz
> I suggest that you do a web search for "android life cycle". The
> information you find there will not only answer your question but provide
> you with some basic knowledge that any android developer must know!
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.