logo       

[android-developers] Re: Initial Doubt: msg#04230

AndroidDevelopers

Subject: [android-developers] Re: Initial Doubt


Michelle Silva wrote:
> sorry about the four messages, but i received messages from group
> saying that my email wasn't sent. About my doubts, i wanna know how can
> i do to make a call? When i execute my code, appears Dials screen with
> the number dialed in the emulator. I want to make the call, count time
> and after end call. How can i do this?

To directly place a call, use ACTION_CALL instead of ACTION_DIAL, but
you will need the CALL_PHONE permission in your manifest.

AFAIK, you cannot end the call yourself. Only the user can end the call.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 1.0 Available!

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

Google Custom Search

News | Mail Home | sitemap | FAQ | advertise