How to programmatically answer a call

后端 未结 2 1286
鱼传尺愫
鱼传尺愫 2020-11-30 22:50

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 the

2条回答
  •  萌比男神i
    2020-11-30 23:23

    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 ?

提交回复
热议问题