Uri phoneUri = Uri. Set phone uri, please note the uir string should start with tel. Intent intent = new Intent(Intent.ACTION_DIAL) Public class MainActivity extends AppCompatActivity implements View.OnClickListenerelse if(viewId = R.id.openPhoneCall || viewId = R.id.openPhoneCall1) * This activity implements View.OnClickListener so should implement onClick method. In Firefox and Safari, press the command and the plus key (+) to make text larger, and the command + minus key (-) to make text smaller. This is a great project to get to grips with because it will lend itself to a range of alternative uses as similar concepts can be.