简体   繁体   English

Android应用-键盘类型

[英]Android App - Keyboard Type

We have a user name and telephone field. 我们有一个用户名和电话字段。 User opens android keyboard and enters user name. 用户打开android键盘并输入用户名。 Then in the keyboard user clicks the 'Next' button and it launches the telephone type keyboard. 然后,用户在键盘中单击“下一步”按钮,它将启动电话类型键盘。 But the same behavior is not observed in case of swift keyboard. 但是在快速键盘的情况下,不会观察到相同的行为。 If user chooses swift keyboard, App doesn't bring the telephone keyboard on click of telephone field. 如果用户选择快速键盘,则App不会在单击电话字段时带上电话键盘。

What is going wrong here? 这是怎么了? Any suggestion. 任何建议。 Is there anyway I can enforce user to use Android Keyboard? 无论如何,我可以强制用户使用Android键盘吗?

No, you cannot force the users to use a particular keyboard (ime). 不可以,您不能强迫用户使用特定的键盘(ime)。 The user is able to select whatever ime they prefer. 用户可以选择他们喜欢的任何ime。 In your app, all you can do is provide a hint as to which type of characters the user is going to be entering (text, numbers, etc). 在您的应用中,您所能做的就是提示用户将要输入的字符类型(文本,数字等)。 It is up to the particular ime to decide how to allow the user to input the text. 由特定的ime决定是否允许用户输入文本。

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

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