如何在我的应用程序中更改键盘语言? [英] how to change keyboard language in my App?

查看:116
本文介绍了如何在我的应用程序中更改键盘语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我想写一个可以让用户输入文字的应用程序.这个程序是波斯语.但我不知道该如何更改键盘语言?
如果知道的话,请帮我.

Hi to all
I wana writing a App that user could enter text to it. this program is persian language. but I dont know that how to change keyboard language?
blease help me, if you know.

推荐答案

您不应该这样做. 用户设置系统的区域和语言选项"并添加语言,定义要使用的键盘布局以及用于在输入语言之间切换的键.实际上,它与您的应用程序无关.它应该与用户输入的内容一起使用.


在撰写有关Windows特定的区域和语言选项"时,我没有注意到它是Android.无论如何,设置和切换键盘布局和输入语言始终由OS用户完成.
[END EDIT]

您可以开发并提供虚拟键盘,但这是另一回事.



…是的,另外一个故事.虚拟键盘的信息很多: http://en.lmgtfy.com/?q=virtual+ keyboard + android [ ^ ] .

—SA
You should not do it. The user sets up "Regional and Language Options" of the systems and adds languages, defined what keyboard layout to use and what keys use to switch between input languages. It really has nothing to do with your application. It should work with what the user enters.


I did not pay attention that it''s Android while writing about Windows-specific "Regional and Language Options". Anyway, setting up and switching keyboard layout and input language is always done by the user of OS.
[END EDIT]

You can develop and provide a virtual keyboard, but this is a different story.



…Yes, a different story. There is a lot of information of virtual keyboards: http://en.lmgtfy.com/?q=virtual+keyboard+android[^].

—SA


这篇关于如何在我的应用程序中更改键盘语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆