How to make a phone call in android and comes back to my activity when call is done

Posted by hap497 on Stack Overflow See other posts from Stack Overflow or by hap497
Published on 2009-10-12T21:14:07Z Indexed on 2010/03/23 9:23 UTC
Read the original article Hit count: 289

Filed under:

Hi,

I am launching an activity to make a phone call, but when I pressed the 'end call' button, it does not go back to my activity. Can you please tell me how can I launch a call activity which comes back to me when 'End call' button is pressed? This is how I'm making the phone call:

    String url = "tel:3334444";
    Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(url));

Thank you.

© Stack Overflow or respective owner

Related posts about android