Android 键盘 - 未初始化共享缓冲区客户端,因为 token = -12
我正在开发 Android 键盘。我尝试使用与 Gingerbread 键盘引入的弹出键盘相同的弹出键盘样式。当我在 Honeycomb 上运行代码时,弹出窗口在一段时间后不会显示(可能是在使用几天后),而弹出键盘仍然“起作用”。也就是说,虽然我没有看到弹出的知识库,但我仍然可以选择它们上的键。
当这种情况发生时,我在 logcat 中看到的就是这条消息:
"Surface : Not initializing the shared buffer client because token = -12"
每次我想触发弹出键盘时都会显示此消息。我做了一些研究,甚至浏览了sdk源代码,但我找不到这个问题的解决方案。主要原因之一是我无法解释这个警告。
顺便说一句,当我在 Honeycomb (3.01 Xoom) 上运行原始 Gingerbread 键盘时,也会生成相同的错误,
非常感谢任何(我的意思是任何)帮助!
I'm working on a keyboard for Android. I try to use the same popup keyboard style as the popup keyboard introduced by the Gingerbread keyboard. When I run my code on Honeycomb the popups aren't displayed after a while (could be after days of usage) while the popup keyboards are still "functioning". That is although I don't see the popup kb's I can still select keys on them.
When this is going to happen, all I see in logcat is this message:
"Surface : Not initializing the shared buffer client because token = -12"
This message is displayed every time I want to trigger a popup keyboard. I did some research, even browsed to the sdk source but I can't find a solution of this problem. One of the main reasons is that I can't interpret this warning.
Btw, the same error also is generated by the original Gingerbread keyboard when I run it on Honeycomb (3.01 Xoom)
Any (and I mean any) help is greatly appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论