Introduction - If you have any usage issues, please Google them yourself
Phone: 1. Definition of Intent, parameters Intent.ACTION_CALL, Intent to prepare to call the function 2 Intent with the SetData method to set the destination phone number, parameter is the Uri format, tel: < phone number> 3 start Intent, attention call function to add user rights (in the Manifest file, add CALL_PHONE permission) send text messages: 1. use SmsManager of getDefault method to get instance of an object 2 object sendTextMessage method using SmsManager send text messages 3. Note that text messaging functionality you need to add user rights (In the Manifest file, add SEND_SMS permission)