Search code examples
androidphone-call

How to programmatically answer a call


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?


Solution

  • Check out this source:

    http://code.google.com/p/auto-answer/source/browse/trunk/src/com/everysoft/autoanswer/AutoAnswerIntentService.java

    They send a Bluetooth "keydown" event to answer the call!