Hi, Alger
May I know the progress of SoftkeyBoard on your project? I am just starting the development on this task and 'd like to have some hint from you. Do you have any idea to implement a phonetic Input Method on Android? Thanks a lot in advance! BR/Mark On Jan 5, 11:02 pm, "Alger, Lin" <addr...@gmail.com> wrote: > I download the released source code at 2008,Dec,30. > And I found an example of "soft keyboard" at path below. > "/development/samples/SoftKeyboard" > > I tried to build it, and install the .apk file into device by steps > below. > 1. make > 2. cd /out/target/product/generic/system/app > 3. adb install SoftKeyboard.apk > > When I try to enable the "SoftKeyboard"inputmethod, and I got an > error > information below. > 01-06 08:38:54.683: ERROR/dalvikvm(273): Could not findmethod > com.example.android.softkeyboard.SoftKeyboard.getCurrentInputInfo, > referenced frommethod > com.example.android.softkeyboard.SoftKeyboard.handleBackspace > 01-06 08:38:54.683: WARN/dalvikvm(273): VFY: unable to resolve > virtualmethod128: Lcom/example/android/softkeyboard/ > SoftKeyboard;.getCurrentInputInfo ()Landroid/view/inputmethod/ > EditorInfo; > 01-06 08:38:54.683: WARN/dalvikvm(273): VFY: rejecting opcode 0x6e > at 0x0031 > 01-06 08:38:54.683: WARN/dalvikvm(273): VFY: rejected Lcom/example/ > android/softkeyboard/SoftKeyboard;.handleBackspace ()V > 01-06 08:38:54.683: WARN/dalvikvm(273): Verifier rejected class Lcom/ > example/android/softkeyboard/SoftKeyboard; > 01-06 08:38:54.683: WARN/dalvikvm(273): Class init failed in > newInstance call (Lcom/example/android/softkeyboard/SoftKeyboard;) > 01-06 08:38:54.713: DEBUG/AndroidRuntime(273): Shutting down VM > > The message indicates the getCurrentInputInfo()methodnot found in > SoftKeyboard class. > > However, the SoftKeyboard is inherit from > android.inputmethodservice.InputMethodService, and the > getCurrentInputInfo() be implemented by InputMethodService. > I don't know why the VM can't found the getCurrentInputInfo()method. > > Please help me to resolved this problem, I has to test some thing by > "SoftKeyboard"inputmethod. > > Thanks. > > Alger, Lin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---