2015年2月16日 星期一

intent phone android

Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + "Your Phone_number"));
startActivity(intent);
Permission in Manifest:
 <uses-permission android:name="android.permission.CALL_PHONE" />

沒有留言:

張貼留言