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

Posts: 16
Registered: ‎04-28-2013
My Device: PlayBook
My Carrier: none
Accepted Solution

How to simulate device locking?

I downloaded the BB10 simulator and got it up and running.  How do I simulate pressing the hw buttons on the device by using the simulator?  For example, if I press the top power button on the Z10 or Q10, the device locks.  How do I simulate this in the simulator?

C++, 3D OpenGL and Game Programming video tutorials:
Play my free games:
Zing: http://appworld.blackberry.com/webstore/content/27406036
Jewel Thief: http://appworld.blackberry.com/webstore/content/29105889
Posts: 107
Registered: ‎05-11-2011
My Device: BlackBerry Z10 LE
My Carrier: AirTel

Re: How to simulate device locking?



You can use controller . it's available in Controller folder in the same directory where your simulator installed.

New Contributor
Posts: 7
Registered: ‎01-08-2014
My Device: Z10, Q10
My Carrier: Telus

Re: How to simulate device locking?

I'm having the same problem using the BlackBerry 10 Device Simulator.   I've set a password, set the device to lock after 1 min of inactivity as well as turned on "Lock device when Holstered".   Neither ussing the Controller to holster the device or waiting to auto lock after 1 min locks the device.   What am I dong wrong?  Is there something else I should do?