You should use the DIAL action for launching the dialer with the provided
phone number as below:

 Intent mIntent = new Intent ("android.intent.action.CALL",
Uri.parse("tel:123123123"));
 startActivity (mIntent);

It is strongly recommended that the apps do not make phone calls without the
user knowing it...so using CALL action is not a option.

2008/8/26 kingkung <[EMAIL PROTECTED]>

>
> Android 0.9 beta removed the IPhone interface.
>
> How do I programatically make a phone call taking a phone number
> string as input?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to