znq*_*znq 5 java keyboard android exception
我正在使用SoftKeyboard样本的修改版本,并且"有时" DeadObjectException在使用全屏模式时获得(例如,当orientation == landscape时).我仍然可以输入文本,但ExtractEditText不会更新,每当我点击一个新密钥时,我都会得到下面的logcat输出.
当我切换到肖像(没有全屏模式)时,我可以看到输入的字符.当我回到横向(全屏模式)时,ExtractEditText会更新字符.但是,当我尝试输入新字符时,问题会重复.
此外,当处于全屏模式并且我改变光标位置时,它确实改变了它,ExtractEditText但并没有真正改变我的位置InputConnection.我相信这个问题/错误已经存在于SoftKeyboard API示例中,因为我没有修改与此相关的任何内容,但是,到目前为止,我无法弄清楚在哪里.
也许有人可以指出我正确的方向?
13349 InputMethodManager W IME died: com.playground.keyboard/.MyInputMethod
13349 InputMethodManager W android.os.DeadObjectException
13349 InputMethodManager W at android.os.BinderProxy.transact(Native Method)
13349 InputMethodManager W at com.android.internal.view.IInputMethodSession$Stub$Proxy.updateSelection(IInputMethodSession.java:227)
13349 InputMethodManager W at android.view.inputmethod.InputMethodManager.updateSelection(InputMethodManager.java:1190)
13349 InputMethodManager W at android.widget.TextView.onDraw(TextView.java:4064)
13349 InputMethodManager W at android.view.View.draw(View.java:6591)
13349 InputMethodManager W at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
13349 InputMethodManager W at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
13349 InputMethodManager W at android.view.ViewGroup.drawChild(ViewGroup.java:1529)
13349 InputMethodManager W at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
13349 InputMethodManager W at android.view.View.draw(View.java:6697)
13349 InputMethodManager W at android.widget.FrameLayout.draw(FrameLayout.java:352)
13349 InputMethodManager W at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
13349 InputMethodManager W at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
13349 InputMethodManager W at android.view.View.draw(View.java:6594)
13349 InputMethodManager W at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
13349 InputMethodManager W at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
13349 InputMethodManager W at android.view.View.draw(View.java:6594)
13349 InputMethodManager W at android.widget.FrameLayout.draw(FrameLayout.java:352)
13349 InputMethodManager W at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
13349 InputMethodManager W at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
13349 InputMethodManager W at android.view.ViewGroup.drawChild(ViewGroup.java:1529)
13349 InputMethodManager W at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
13349 InputMethodManager W at android.view.View.draw(View.java:6594)
13349 InputMethodManager W at android.widget.FrameLayout.draw(FrameLayout.java:352)
13349 InputMethodManager W at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1884)
13349 InputMethodManager W at android.view.ViewRoot.draw(ViewRoot.java:1349)
13349 InputMethodManager W at android.view.ViewRoot.performTraversals(ViewRoot.java:1114)
13349 InputMethodManager W at android.view.ViewRoot.handleMessage(ViewRoot.java:1633)
13349 InputMethodManager W at android.os.Handler.dispatchMessage(Handler.java:99)
13349 InputMethodManager W at android.os.Looper.loop(Looper.java:123)
13349 InputMethodManager W at android.app.ActivityThread.main(ActivityThread.java:4363)
13349 InputMethodManager W at java.lang.reflect.Method.invokeNative(Native Method)
13349 InputMethodManager W at java.lang.reflect.Method.invoke(Method.java:521)
13349 InputMethodManager W at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:862)
13349 InputMethodManager W at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
13349 InputMethodManager W at dalvik.system.NativeStart.main(Native Method)
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1141 次 |
| 最近记录: |