Forum Discussion

sylistron's avatar
sylistron
Visitor
14 years ago

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!

1 Reply

  • 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