No current phones have zoom in or zoom out keys.  If one does, we would
prefer to define a new key code for such a key rather than overloading it
with "plus".

I'm not sure about your second question -- there is no physical key for
KEYCODE_PLUS.  KEYCODE_PLUS (nor any of the other key codes) is not a
logical key, it is the code or a physical key.

The KeyCharacterMap class is responsible for mapping from physical key
events to Unicode characters.  Note that you can't make any assumptions
about what this mapping my be -- you can pretty much assume that there will
be a wide variety of keyboard layouts in Android devices (not to mention the
new soft keyboard mechanism, which allows the user to generate text without
any physical keys at all).

On Sun, Apr 26, 2009 at 2:57 AM, André Charles Legendre <
[email protected]> wrote:

>
> Hi Diane
>
>
> Tank's for the answer.
>
> What keys are usually mapped for zoomIn and zoomOut in Android devices ?
>
> And what physical key is associated to the logical KEYCODE_PLUS ?
>
> Regards
>
> Andre
>
> >
>


-- 
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