I'm attempting to create a button that, when clicked, will dial a phone number. Here is my Java code:
public void CampusSafClick(View view){
Intent callIntent =new Intent(Intent.ACTION_CALL);
callIntent.setData(Uri.parse("tel:6038994210"));
startActivity(callIntent);
}
The problem is not with making onclick buttons; I know how to do that.
This manifest code is mine:
<uses-permission android:name="android.permision.CALL_PHONE"></uses-permission>
The message "Unfortunately, your app has stopped working" keeps appearing.