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
Posts: 15
Registered: ‎07-15-2013
My Device: Blackberry Z10
My Carrier: Verizon

Alternative to Shortcut and KeyListener on 10.0 (pertaining to Q10 devices)

I would like to listen for an enter key press when on a particular textfield. Usually there is a "Join" SubmitKey, but on Q10 that's not really an option with a physical keyboard. I would like to add something like a Shortcut, but it's only available for 10.1 and I do not want to restrict my audience. Is there a way to replicate this behavior in 10.0?

 

Thanks.

Highlighted
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Alternative to Shortcut and KeyListener on 10.0 (pertaining to Q10 devices)

The Q10 started with 10.1 so it doesn't seem like this should be an issue. (Noted here for posterity, since I'm just repeating what I saw others have said in the #blackberrydev IRC channel.)

In any case, those left on 10.0 are very few and far between so I don't think there's any real need to continue supporting them... my guess is only about 1% of the market may still be there, for whatever reason.

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!