Hi,
For this purpose, you need to override the onResume method.
Unlock is irrelevant here.

Review the Activity life cycle for better understanding what is going
on:
http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle

Hope this helps.

Regards
Sarwar Erfan



On Dec 1, 10:13 am, Milind Bhusari <milindbhusar...@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to