android - Send out going call for given number -
please give me illustration or link how send phone call given telephone number using android.
add these line of code u want phone call number, if want dial
number can utilize action_dial instead.
intent intent = new intent(intent.action_call); intent.setdata(uri.parse("tel:1231231234")); startactivity(intent);
dont forget add together appropriate permission in manifest file. may below 1
<uses-permission android:name="android.permission.call_phone"></uses-permission>
or
<uses-permission android:name="android.permission.call_privileged"></uses-permission>
android
No comments:
Post a Comment