Answer automatically to Incoming Call

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

Answer automatically to Incoming Call

Postby midoub » Thu Mar 18, 2010 12:34 am

hello,
I know this is not the good forum to post my question, but I need help and I spend 3 days to try to find solution ,but no way:(.
I'm trying to develop application that can answer incoming call automatically.
In my code I use the intent "Action_Anwser" but it's seem not work.
The snippet of my code
:::::::::
public void onCallStateChanged(int state, String incomingNumber) {
super.onCallStateChanged(state, incomingNumber);
:::::
Intent intent = new Intent(Intent.ACTION_CALL_BUTTON);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
::::
Maybe I had forget the permission in manifest or somthing like this!!!
Thanks for your help.
best regards,
midoub
Freshman
Freshman
 
Posts: 3
Joined: Tue Dec 22, 2009 2:23 pm

Top

Return to Advanced Tutorials

Who is online

Users browsing this forum: No registered users and 4 guests