Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的应用程序中,我有我想要控制虚拟键盘语言(输入法子类型)的 TextEdit。据我所知,无法强制虚拟键盘显示所选的特定语言,甚至无法可靠地获取当前键盘语言。
但是我正在考虑这样的解决方案,当应用程序在某个时候存储当前键盘的一些唯一 id(不知道当前使用哪种输入语言),然后在某个时候使用以前存储的 id 恢复这个键盘。当然,我不想创建系统应用程序或实现自己的键盘
Android SDK中是否存在这样的API?