03-31-2011 12:30 PM
Hi All,
Trying to figure out how you would programatically using javascript (or in the config.xml file?) lock out most/all other controls when in an app? Searched but can't find anything.
Thanks.
Solved! Go to Solution.
04-01-2011 07:29 AM
I'm not sure exactly what you mean by "lock out other controls"... Could you expand more on what you're trying to accomplish?
Cheers
04-01-2011 08:12 AM
When in an app, I would like to lock the buttons on the device so they dont do anything. Does that makes sense?
04-01-2011 08:50 AM
It "can" be done on a BlackBerry Smartphone. I do encourage you to make sure that your user isn't stranded in your app ![]()
You can trap the onHardwareKey event
http://www.blackberry.com/developers/docs/widgetap
04-01-2011 09:12 AM
Ok so only on a smartphone, not on the playbook. Gotcha! Thanks. And yes, i have already kept it in mind not to trap thm in the app. LOL
That definitely wouldn't make for a good user experience.