sylistron
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2011
12:13 PM
Create my own Remote Key Sequence?
What if I want to embed my own remote key sequence? Perhaps to allow someone to enter a PIN to be able to override the app in some way?
I'm not sure what event I should be listening for, as well as where!
I'm not sure what event I should be listening for, as well as where!
1 REPLY 1
Anonymous
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2011
07:09 PM
Re: Create my own Remote Key Sequence?
Hello,
It depends on the screen you are using, but typically you will use the isRemoteKeyPressed() API inside your message event handler to recognize key presses.
From a UI consistency perspective we would actually prefer that you add a settings screen to your application that exposed these types of options rather than a hidden screen that user might accidently stumble across.
If you go the settings screen route you can pop up a PIN entry dialog (roPinEntryDialog) to guard a particular setting if you would like.
Cheers
It depends on the screen you are using, but typically you will use the isRemoteKeyPressed() API inside your message event handler to recognize key presses.
From a UI consistency perspective we would actually prefer that you add a settings screen to your application that exposed these types of options rather than a hidden screen that user might accidently stumble across.
If you go the settings screen route you can pop up a PIN entry dialog (roPinEntryDialog) to guard a particular setting if you would like.
Cheers