Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Regular Contributor
JimmyO
Posts: 93
Registered: ‎02-03-2011
My Device: Not Specified

Extend Password Lock Time

Can anyone provide advice / input on how to allow my AIR for BB10 app to "Allow Apps to Extend Password Lock Time"?  I know this must be possible, since this is an option on the Q10 under "System Settings" / "Security and Privacy" / "Device Password" but don't know what library to link to / etc when using AIR.

 

Thanks for any hints / help that anyone can provide.

Jim

Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10

Re: Extend Password Lock Time

You can show the page via invocation, but there would not be an API for it.
Regular Contributor
JimmyO
Posts: 93
Registered: ‎02-03-2011
My Device: Not Specified

Re: Extend Password Lock Time

Thanks but I think my question wasn't clear - my app plays videos and I want to block 'password lock' while the video is playing. ie I am assuming the user has this option set to "yes" and I now want my app to be able to stop the auto-locking. I am assuming there is an api or system call from my app to tell the OS to not autolock (assuming the end user has this option set to 'yes'). Thanks.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10

Re: Extend Password Lock Time

I would have to look at some older code, but you can do this. Something like throttle control.