Android APP拨打电话:
Intent intent=new Intent(Intent.ACTION_DIAL,Uri.parse("tel:"+888888));
startActivity(intent);
}
Android APP短信分享:
Intent sendIntent = new Intent(Intent.ACTION_VIEW);
sendIntent.putExtra("sms_body", "#短信分享#");
sendIntent.setType("vnd.android-dir/mms-sms");
startActivity(sendIntent);
时间: 2024-11-03 20:52:41