如何在wifi p2p服务发现中使用InputMethodService? [英] How to use InputMethodService in wifi p2p service discovery?

查看:164
本文介绍了如何在wifi p2p服务发现中使用InputMethodService?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Android新手,请告诉我inputMethodService是否可以与wifi p2p服务发现一起使用?我希望一部手机充当另一部手机的键盘.请告诉我是否有可能以及要参考哪些资源.谢谢.

I am new to android, please tell me if inputMethodService can work with wifi p2p service discovery? I want one phone to act as a keyboard for another phone. Please tell me if it is possible and which resources to refer in order to begin with it. Thank you.

推荐答案

我认为您不需要担心第一台设备中的输入方法,而可以创建一个应用程序,从此您可以正常输入文本您正在android设备上进行输入,然后让该应用程序负责将获取的文本实时传输到您要在其中输入的其他设备上.

I think what you need to do is not worry about the input-method in the first device, but create an application where you input text as normal from what ever you are using for input on the android device and then make that application responsible to transfer the acquired text to another device in which you want to input, in real time.

鉴于android中IME的限制,另一台设备应具有修改后的输入法,该方法可以接收数据并依次为您输入.

Given the restrictions on the IME in android, the other device should have the modified input-method that receives the data and enters for you in turn.

对于这种数据传输,您必须非常小心,因为android中的IME本质上可以监视用户输入的任何内容,因此数据传输应该确实非常安全.

You have to be very careful for this kind of data transfer because the IME in android is essentially capable of monitoring anything the user enters, so the data transfer should be really really secure.

这篇关于如何在wifi p2p服务发现中使用InputMethodService?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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