I am working on a streaming multimedia application and notice some strange behavior. Media stops playing when my device locks, but then starts playing again before I even unlock the device.
Any suggestions that might cause this?
This is due to how the Android life cycle works when you press the unlock button but are still on the lock screen.
onResume() , - . onResume() , , .
:
http://android-developers.blogspot.com/2011/11/making-android-games-that-play-nice.html
Ciclelife - . @override OnResume OnPause.