Thanks a lot guys. Dianne, I didn't mean to be rude, I just wanted an
answer from someone at Google, instead of anyone else. because I have
posted a similar message in a bunch of forums and got different
replies! Thanks again guys, I shall look into this. I was wondering
whether there was any quicker way without creating a map because I am
going to run into issues there, as the keycodes for 'a' and 'A' are
the same (29).

On Nov 11, 3:16 pm, Dianne Hackborn <[email protected]> wrote:
> On Wed, Nov 11, 2009 at 11:34 AM, Android_n00b <[email protected]> wrote:
> > I would really appreciate a reply from someone at Google if nobody can
> > answer this. I really need to know this to move ahead with my
> > project.
>
> Um, sorry it took me more than 20 minutes to respond to your post. :p
>
> The table mapping between scan codes and key codes is not available in the
> SDK.  In addition, scan codes are by definition device dependent, so you
> shouldn't rely on any particular value for them.  Instead you should use the
> constants in KeyEvent to map the key codes you receive to the codes that you
> want to send.
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to