Hi,

yes you can:


this code line makes a phone call to a given number:

startActivityForResult(new Intent(Intent.ACTION_CALL,
Uri.parse("tel:+0000000000000")), 1);

Do not forget to give permission to excute a phone call by adding following
to the AndroidManifest.xml:

<uses-permission android:name="android.permission.CALL_PHONE" />

Hope this helps
 

-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von AndroidBeginner
Gesendet: Montag, 5. Oktober 2009 13:40
An: Android Developers
Betreff: [android-developers] Making phone call using the Android SDK 1.6


Hi all,

I am a total newbie in Android and want to develop an application
which need to make phone call using the API. I googled around and find
that the open SDK didn't support making phonecalls. All the function
required to make phone call have been put inside
com.android.internal.telephony, which is an internal APIs.

I just wonder if there is any methods or alternatives API that I can
make use of.

Thanks and regards,

AndroidBeginner.




--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to