On Thu, Mar 17, 2011 at 8:01 PM, brian purgert <[email protected]> wrote: > do you mean like this > MediaPlayer mp = MediaPlayer.create(this, R.raw.song2); > mp.start(); > when I do that the song stops/ does not start ?
Here is a sample project demonstrating this use of MediaPlayer: https://github.com/commonsguy/cw-advandroid/tree/master/Media/Audio -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in Oslo: http://bit.ly/fjBo24 -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

