如何以编程方式接听电话

发布于 2024-08-31 18:35:26 字数 199 浏览 12 评论 0原文

我知道之前已经问过这个问题,但此时的答案帖子不真实。 Vringo 和其他应用程序确实可以通过按下应用程序上的按钮来接听电话,因此必须有一种方法可以做到这一点。

有人有建议吗?

I know this has been asked before, but at this time the answer of the post is not true. Vringo and other apps does answer the phone by pressing a button on their app, so there must be a way to do it.

Anyone has a suggestion?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

偏爱你一生 2024-09-07 18:35:26

这个解决方案很“有趣”,
它“几乎”适用于我的 HUAWEI Y300 (4.1.1),但在我的 LG E410 Swift L1 (4.1.2) 上则不行。

在华为上,它与 KeyEvent.ACTION_UP 一起使用,在 LG 上,对 ACTION_UP 事件没有反应。
另一方面,在HUAWEI上ACTION_DOWN事件不接听电话,但在LG上它拒绝接听电话。

所以不同型号的设备有不同的反应。

有人对此问题有一些更新吗?是否有另一种可行的解决方案,其对所有手机的行为方式相同,并且不需要设备进行 root ?

This solution is 'funny',
it 'almost' works on my HUAWEI Y300 (4.1.1) but on my LG E410 Swift L1 (4.1.2) not.

On HUAWEI it works with KeyEvent.ACTION_UP, when on LG there is no reaction for ACTION_UP event.
From other side, on HUAWEI the ACTION_DOWN event does not answer a call, but on LG it rejects it.

So different models of a devices have different reactions.

Someone has some updates in this issue ? Is there an another working solution, which behaves in same way for all mobile phones, and does not require from a device to be rooted ?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文