0

I've written a code that it plays the background music, but it pauses when screen turns off.

How do I keep the music alive even after screen turns off?

sayhaha
  • 769
  • 3
  • 12
  • 25
  • make a service class http://developer.android.com/guide/topics/fundamentals/services.html – Sunny Feb 22 '12 at 04:38
  • Service is what you need. Check out this post: http://stackoverflow.com/questions/8209858/android-background-music-service – CalvinLee Feb 24 '12 at 13:21

0 Answers0