如何开发出软键盘为Android?键盘、Android

2023-09-11 10:44:43 作者:谁许我天荒地老

我想玩弄一些想法和发展软键盘为Android取代默认的。

I would like to play around with some ideas and develop a soft keyboard for Android to replace the default one.

有没有关于软键盘的开发为Android那里的一般信息?任何最佳做法或准则?

Is there any general information about soft keyboard development for Android out there? Any best practices or guidelines?

我可以做我的键盘应用程序pretty的任何东西我可以做一个正常的Andr​​oid应用程序?

Can I do with my keyboard application pretty much anything I could do with a normal Android application?

我可以做的HTTP连接与云DB和其它手机同步键盘数据我有吗?

Can I do HTTP connections to synchronize keyboard data with a cloud DB and other phones I have?

我可以打开其他窗口/从键preSS的屏幕,例如显示自定义输入接口不同于一个正常的QWERTY之一。如果还是不行,我可以用一个弹出对话框呢?

Can I open other windows/screens from a key press, e.g. to display a custom input interface different to a normal QWERTY one. If that doesn't work, can I use a pop-up dialog instead?

推荐答案

一些提示:

在阅读本教程:创建输入法 在克隆这个回购协议: LatinIME Read this tutorial: Creating an Input Method clone this repo: LatinIME

关于你的问题:

这是inputMethod基本上是一个Android 服务,所以是的,你可以做HTTP和所有你能在服务做。

An inputMethod is basically an Android Service, so yes, you can do HTTP and all the stuff you can do in a Service.

您可以打开活动 InputMethod 对话框。再次,它只是一个服务

You can open Activities and dialogs from the InputMethod. Once again, it's just a Service.

我一直在开发一个输入法,所以再次问,如果你遇到一个问题。

I've been developing an IME, so ask again if you run into an issue.

 
精彩推荐