Answer and hang up a call

Tutorials with advanced 'difficulty' and more Lines of Code.

Answer and hang up a call

Postby saru » Wed Feb 03, 2010 7:58 am

Can anyone point me how to auto answer calls and hangup
programmetically, and the related permission? Sample or skeleton code
is appreciated.
Junior Developer
Junior Developer
Posts: 16
Joined: Tue Feb 02, 2010 6:45 am


Postby MichaelEGR » Wed Feb 03, 2010 2:39 pm

A general FYI asking the same question again that you previously posted which is also only 4 threads below in the same forum is not good form per se. I'm not the moderator, but it's best to keep your question to one thread. You aren't going to get a magically different answer.

I recommend that you ask this question on the Google developers email list/google group, but first search for an existing email/answer as it's likely there with an authoritative answer. If you don't find the answer already then ask this question there and add attn Diane Hackborn in the subject (if you wanna be direct and presumably slightly annoying about it!). She is an Android framework engineer and will tell you definitively that it is not supported.

I highly doubt this functionality is accessible. It's a phone! 911 / emergency support must work no matter what and no 3rd party service or app will be allowed to modify absolutely crucial functioning of phone service. It'd suck for a rogue app/service to hang up programmatically emergency calls.
Founder & Principal Architect; EGR Software LLC
User avatar
Senior Developer
Senior Developer
Posts: 147
Joined: Thu Jan 21, 2010 5:30 am
Location: San Francisco, CA

How to implement answer function programmetically?

Postby perrot » Thu Mar 04, 2010 4:47 am

I seach the answer many places. I get some hint about this subject. But I don't know how to programming it?

Use acceptCall() function. I find the API documentation from location ... Call%28%29. But SDK haven't this function.

Simulate key press to press the green button. But I have no idea about simulate key.

If you have any other idea about answering auto call then you can
help me also.

Thank you,
Junior Developer
Junior Developer
Posts: 15
Joined: Fri Jan 22, 2010 3:21 am
Location: China


Return to Advanced Tutorials

Who is online

Users browsing this forum: No registered users and 2 guests