Read up on the broadcast intent ACTION_USER_PRESENT to know if the user is 
actively using the app.

Doug

On Monday, March 12, 2012 3:10:20 AM UTC-7, rachana govilkar wrote:
>
> Hello all, 
> I am developing an application inside which i need to record audio. 
> I implemented code and it is working fine until my tester filed a bug 
> for me. 
> Tester scenario was: 
> 1.open application. 
> 2.start recording audio. 
> 3.lock device. 
> 4.unlock device. 
> 5.recording continues. 
> here if device is locked, after unlocking i want to stop recording and 
> take it to earlier activity. 
> But i am not able to do it. 
> Is there any event need to be handled for this? 
> Like in video recording i had to handle SurfaceDestroyed(). 
> Let me know if anyone knows. 
> Thanks. 
>

-- 
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