Android 拨打电话的代码

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

 
try {
   Intent intent = new Intent(Intent.ACTION_CALL);
   intent.setData(Uri.parse("tel:+110"));
   startActivity(intent);
} catch (Exception e) {
   Log.e("SampleApp", "Failed to invoke call", e);
}