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

Android™ Development

Reply
Highlighted
New Developer
Posts: 1
Registered: ‎02-03-2013
My Device: Z10
My Carrier: Three UK

KeyCodes different to Android?

Hi,

 

Are the KeyCodes returned by KeyEvent different on the BlackBerry platform?

 

We're trying to port an app across that uses the keycodes however we're seeing some odd results.

 

ie, the Q key from the soft keyboard gives keycode 45 on Android but 113 in the BlackBerry Android Runtime.

 

Are the codes different between the two platforms?

 

Thanks!

New Member
Posts: 1
Registered: ‎11-28-2014
My Device: n/a
My Carrier: t-mobile

Re: KeyCodes different to Android?

Of course they are different.

yes.... I know its an old post.