[android-developers] Re: How can I extends InputMethodService and using its feature without setting system keyboard??

2009-09-16 Thread HandsomeboyIT
Thanks Dianne Hackborn. can you explain more about the way of using the raw keyboard view classes? I just want to send some key event to my app but don't want to implement another keyboard. I don't know how to do this. On Sep 16, 11:42 am, Dianne Hackborn hack...@android.com wrote: You can't,

[android-developers] Re: How can I extends InputMethodService and using its feature without setting system keyboard??

2009-09-16 Thread Dianne Hackborn
Er you use it the same way as you would if using it in an input method. It's a view, you put it in your UI in some way, give it the information about the key layout, get the callbacks as it is pressed, and do the appropriate thing. Just like when implementing an IME. On Wed, Sep 16, 2009 at

[android-developers] Re: How can I extends InputMethodService and using its feature without setting system keyboard??

2009-09-15 Thread Dianne Hackborn
You can't, the purpose of InputMethodService is to write a global input method service. If you just want to put a keyboard in your app, you could try using the raw keyboard view classes. On Tue, Sep 15, 2009 at 9:35 PM, HandsomeboyIT handsomebo...@gmail.comwrote: Hi all, I'm using