I am trying to port Android to my Dell Axim x51v. I use the Android master branch and kernel 2.6.29 with my own patches. But I have a strange problem with the soft keyboard. Whenever I focus on a text input field I get the following error as a dialog:
The application Android keyboard (process com.android.inputmethod.latin) has stopped unexpectedly. Please try again. And the following is the logcat entry. It says something about "permission denied for this window type"... Can anybody help me with this? I/ActivityManager( 924): Start proc com.android.inputmethod.latin for service com.android.inputmethod.latin/.LatinIME: pid=1188 uid=10001 gids={3003} D/dalvikvm( 1188): Trying to load lib /system/lib/libjni_latinime.so 0x4373f838 D/dalvikvm( 1188): Added shared lib /system/lib/libjni_latinime.so 0x4373f838 W/InputMethodManager( 961): Ignoring onBind: cur seq=29, given seq=30 D/AndroidRuntime( 1188): Shutting down VM W/dalvikvm( 1188): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) E/AndroidRuntime( 1188): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 1188): android.view.WindowManager$BadTokenException: Unable to add window android.view.viewroo...@43770f48 -- permission denied for this window type E/AndroidRuntime( 1188): at android.view.ViewRoot.setView (ViewRoot.java:449) E/AndroidRuntime( 1188): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:178) E/AndroidRuntime( 1188): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91) E/AndroidRuntime( 1188): at android.app.Dialog.show(Dialog.java: 231) E/AndroidRuntime( 1188): at android.inputmethodservice.InputMethodService.showWindowInner (InputMethodService.java:1335) E/AndroidRuntime( 1188): at android.inputmethodservice.InputMethodService.showWindow (InputMethodService.java:1278) E/AndroidRuntime( 1188): at android.inputmethodservice.InputMethodService $InputMethodImpl.showSoftInput(InputMethodService.java:388) E/AndroidRuntime( 1188): at android.inputmethodservice.IInputMethodWrapper.executeMessage (IInputMethodWrapper.java:148) E/AndroidRuntime( 1188): at com.android.internal.os.HandlerCaller$MyHandler.handleMessage (HandlerCaller.java:45) E/AndroidRuntime( 1188): at android.os.Handler.dispatchMessage (Handler.java:99) E/AndroidRuntime( 1188): at android.os.Looper.loop(Looper.java: 123) E/AndroidRuntime( 1188): at android.app.ActivityThread.main (ActivityThread.java:3948) E/AndroidRuntime( 1188): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 1188): at java.lang.reflect.Method.invoke (Method.java:521) E/AndroidRuntime( 1188): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:782) E/AndroidRuntime( 1188): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) E/AndroidRuntime( 1188): at dalvik.system.NativeStart.main (Native Method) I/Process ( 924): Sending signal. PID: 1188 SIG: 3 I/dalvikvm( 1188): threadid=7: reacting to signal 3 E/ActivityThread( 924): Failed to find provider info for android.server.checkin E/Checkin ( 924): Error reporting crash: java.lang.IllegalArgumentException: Unknown URL content://android.server.checkin/crashes I/dalvikvm( 1188): Wrote stack trace to '/data/anr/traces.txt' I/Process ( 1188): Sending signal. PID: 1188 SIG: 9 I/ActivityManager( 924): Process com.android.inputmethod.latin (pid 1188) has died. W/ActivityManager( 924): Scheduling restart of crashed service com.android.inputmethod.latin/.LatinIME in 5000ms E/ActivityThread( 924): Failed to find provider info for android.server.checkin W/Checkin ( 924): Can't log event SYSTEM_SERVICE_LOOPING: java.lang.IllegalArgumentException: Unknown URL content://android.server.checkin/events W/InputManagerService( 924): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub $pr...@4373e720 I/ActivityManager( 924): Start proc com.android.inputmethod.latin for service com.android.inputmethod.latin/.LatinIME: pid=1205 uid=10001 gids={3003} D/dalvikvm( 1205): Trying to load lib /system/lib/libjni_latinime.so 0x4373f8f8 D/dalvikvm( 1205): Added shared lib /system/lib/libjni_latinime.so 0x4373f8f8 W/InputMethodManager( 961): Ignoring onBind: cur seq=29, given seq=30 D/AndroidRuntime( 1205): Shutting down VM W/dalvikvm( 1205): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) E/AndroidRuntime( 1205): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 1205): android.view.WindowManager$BadTokenException: Unable to add window android.view.viewroo...@43771008 -- permission denied for this window type E/AndroidRuntime( 1205): at android.view.ViewRoot.setView (ViewRoot.java:449) E/AndroidRuntime( 1205): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:178) E/AndroidRuntime( 1205): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91) E/AndroidRuntime( 1205): at android.app.Dialog.show(Dialog.java: 231) E/AndroidRuntime( 1205): at android.inputmethodservice.InputMethodService.showWindowInner (InputMethodService.java:1335) E/AndroidRuntime( 1205): at android.inputmethodservice.InputMethodService.showWindow (InputMethodService.java:1278) E/AndroidRuntime( 1205): at android.inputmethodservice.InputMethodService $InputMethodImpl.showSoftInput(InputMethodService.java:388) E/AndroidRuntime( 1205): at android.inputmethodservice.IInputMethodWrapper.executeMessage (IInputMethodWrapper.java:148) E/AndroidRuntime( 1205): at com.android.internal.os.HandlerCaller$MyHandler.handleMessage (HandlerCaller.java:45) E/AndroidRuntime( 1205): at android.os.Handler.dispatchMessage (Handler.java:99) E/AndroidRuntime( 1205): at android.os.Looper.loop(Looper.java: 123) E/AndroidRuntime( 1205): at android.app.ActivityThread.main (ActivityThread.java:3948) E/AndroidRuntime( 1205): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 1205): at java.lang.reflect.Method.invoke (Method.java:521) E/AndroidRuntime( 1205): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:782) E/AndroidRuntime( 1205): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) E/AndroidRuntime( 1205): at dalvik.system.NativeStart.main (Native Method) I/Process ( 924): Sending signal. PID: 1205 SIG: 3 I/dalvikvm( 1205): threadid=7: reacting to signal 3 E/ActivityThread( 924): Failed to find provider info for android.server.checkin E/Checkin ( 924): Error reporting crash: java.lang.IllegalArgumentException: Unknown URL content://android.server.checkin/crashes I/dalvikvm( 1205): Wrote stack trace to '/data/anr/traces.txt' --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-porting" group. To post to this group, send email to android-porting@googlegroups.com To unsubscribe from this group, send email to android-porting+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-porting?hl=en -~----------~----~----~----~------~----~------~--~---