简体   繁体   English

菜单中未显示Android软键盘输入法

[英]Android soft keyboard input method doesn't show in menu

i created an android sample project -> soft keyboard. 我创建了一个android示例项目->软键盘。 I have changed - the project name, - in manifest service android:name="xx" and - in strings.xml xx 我更改了-项目名称-清单服务android:name =“ xx”和-strings.xml xx

i successfuly deployed the project on my galaxy ace and when i go to Edittext in messages and hold the Edittext field -> Input method. 我成功地在银河王牌上部署了该项目,当我转到消息中的Edittext并按住Edittext字段-> Input方法时。 I thought now it would have to show my "xx" keyboard or something like that, but there is no new field available, only the "Swype" and "Samsung keyboard". 我以为现在必须显示“ xx”键盘或类似的东西,但是没有可用的新字段,只有“ Swype”和“ Samsung键盘”。

Do i have to do something else in the project that it would show me my new created keyboard in that menu? 我是否需要在项目中做其他事情以使我在该菜单中显示新创建的键盘?

Thank you for your answers! 谢谢您的回答!

the android:name"..." in the mainifest service should be with value that equlas to the main keyboard class name. mainifest服务中的android:name“ ...”应该具有等于主键盘类名称的值。 if you change in the mainifest the android:name to xx you need to change the main class name to xx. 如果您将android:name更改为xx,则需要将主类名称更改为xx。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM