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

Native Development

Reply
Contributor
nanyaran
Posts: 19
Registered: ‎06-21-2012
My Device: z10
My Carrier: Bell

How to lock off BB10 device in C

I posted a same question few hours ago, but no one answer me,

I am here to repost it again.
What I try to do is an app that capture users action, when one certain action happen, the screen is password locked.

For example, user pressed one of  volume key, and its locked. What function should i use for this locking? Thank you.

Please use plain text.
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: How to lock off BB10 device in C

If you posted it only a few hours ago, I'm afraid you're being impatient. Most of the people here answering are volunteers, just other developers who choose to share their time trying to assist others. Expecting very fast replies (less than a day or two) isn't wise...

As for the question, I'm not aware of any API that would let you do that, so I believe the answer is "you cannot". At least for now. If you need this, consider filing a "feature request" in the Developer Issue Tracker, a link to which you can find at the bottom of http://developer.blackberry.com

(If your original query was in another thread, would you mind posting a link to this thread, in that thread, so that people won't try to answer the same thing in two different places? Thanks!)

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.