Register a rceiver for broadcast event with the intent ACTION_USER_PRESENT. This should work fine.
On Wed, Dec 1, 2010 at 9:43 AM, Milind Bhusari <[email protected]>wrote: > Hi, > While mediaplayer playing rtsp stream if user press lock button and > then he press menu(unlock) mediaplayer shows blank screen. I want to know > how to capture this unlock event inside activity so that i can resume > mediaplayer. > > > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- 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

