Vote count: 0
Intent callIntent = new Intent(Intent.ACTION_CALL); callIntent.setData(Uri.parse("tel:0377778888"));
if (ActivityCompat.checkSelfPermission(Main.this, Manifest.permission.CALL_PHONE) != PackageManager.PERMISSION_GRANTED) {
return;
}
startActivity(callIntent);
}
asked 26 secs ago
making call and sms from android application not working and in menifest also i have added my permissions
Aucun commentaire:
Enregistrer un commentaire