It's somewhere in android.text, I don't know off-hand exactly where. Because an IME gets first crash at key events, yes it can intercept them and do what it wants.
On Wed, May 13, 2009 at 4:41 PM, e21u...@gmail.com <e21u...@gmail.com>wrote: > > On May 13, 7:38 pm, Dianne Hackborn <hack...@android.com> wrote: > > The hardware keyboard has nothing to do with the IME. It is built into > the > > framework. > yes but I can intercept hardware keyboard events in IME (such as > keyDown and keyUp) and send new events down. i could try implement > popup view onmy own but it seems counterproductive to simulate what is > already in the framework. > > my questoin is where is it in the framework and how to modify? is it > user accessible setting? is it locale sensitive? > > thanks, > > Alek > > > > > On Wed, May 13, 2009 at 4:36 PM, e21u...@gmail.com <e21u...@gmail.com > >wrote: > > > > > > > > > > > > > On May 13, 1:29 am, Dianne Hackborn <hack...@android.com> wrote: > > > > The letters shown is just programmed by the IME, in its resources. > You > > > can > > > > just change that. The other stuff... you'll need to either deal > with > > > using > > > > the public APIs, or (for things like resources) provide your own > version > > > > instead of relying on private parts of the platform. > > > hi, > > > > > i can see how to set popup character for IME screen keyboard [1] by > > > using res/string/alternates_for_c but i am not able to find where is > > > setting(s) stored for hardware keyboard when hardware key (such as C) > > > is long pressed? > > > > > to make clear wht i talk about i took screenshots - here iswith > > > software keyboard long press c: > > >http://i40.tinypic.com/1981w1.png > > >http://i41.tinypic.com/98zmfp.png > > > > > and here is what I am asking about - choices when I long press > > > hardware key C: > > >http://i41.tinypic.com/27y31ck.png > > >http://i41.tinypic.com/98zmfp.png > > > > > as you can see choices are different. where I can find and modify > > > hardware popup list? > > > > > thanks, > > > > > Alex > > > > > [1] > > > <Key android:codes="99" android:keyLabel="c" > > > android:popupKeyboard="@xml/kbd_popup_template" > > > android:popupCharacters="@string/alternates_for_c" > > > /> > > > > -- > > Dianne Hackborn > > Android framework engineer > > hack...@android.com > > > > 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. > > > -- Dianne Hackborn Android framework engineer hack...@android.com 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-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---