Hi,
I want to make a call after pressing of a button from my own
application rather than dialer. I have used the following code for it
                        Uri uri = Uri.fromParts("tel", mCurrentNumber, null);
                        Intent callIntent = new Intent(Intent.ACTION_CALL, uri);
                        
callIntent.setFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
                        startActivity(callIntent);

It is starting the same intent as that of Dialer.

I want to come back to my application after end of the call. But it is
displaying call log window. :-(

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Discuss" 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-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to