2 messages in com.googlegroups.android-developers[android-developers] Re: Problem in c...
FromSent OnAttachments
juma26 May 2008 04:50 
Mark Murphy26 May 2008 05:15 
Subject:[android-developers] Re: Problem in call from mobile to another mobile
From:Mark Murphy (mmur@commonsware.com)
Date:05/26/2008 05:15:57 AM
List:com.googlegroups.android-developers

juma wrote:

I wrote a source code for call from mobile to another mobile.

Here is my code,

<snip>

Intent dial = new Intent();

dial.setAction("android.intent.action.CALL");

dial.setDataAndType(Uri.addPath("tel:234567"), "android.intent.action.CALL"); this.startActivity(dial);

You might want to consider using the IPhone interface and its dial() method for initiating calls:

http://code.google.com/android/reference/android/telephony/IPhone.html