Hi,

I got the same problem as you do. I'm trying to look at the original
Phone app from google, but have no clue. The app manifest doesn't have
"Action_answer".

Phillip

On Mar 17, 3:40 pm, midoub <[email protected]> wrote:
> 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,

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to