2 messages in com.googlegroups.android-beginnersRe: how to get correct alphabet key
FromSent OnAttachments
Gautam Bisht27 Jan 2008 23:44 
Megha30 Jan 2008 14:52 
Subject:Re: how to get correct alphabet key
From:Megha (andr@gmail.com)
Date:01/30/2008 02:52:56 PM
List:com.googlegroups.android-beginners

Hi Gautam,

The getDisplayLabel() method returns the alphabet in upper case because the label on the key itself is in upper case. You could use java's toLowerCase() method on the result of getDisplayLabel() method here.

On Jan 27, 11:44 pm, Gautam Bisht <gaut@gmail.com> wrote:

hi all

im getting the key pressed event and key label as below but always get capital alphabet

KeyCharacterMap kcMap=KeyCharacterMap.load(KeyCharacterMap.ALPHA);

kcMap.getDisplayLabel(arg2.getKeyCode())