I\'m very much a beginner at this and I\'m struggling to get this to work.
When button is pressed, I simply want the dialer to open with the specified number automa
String number = "12345678"; Intent intent = new Intent(Intent.ACTION_CALL); intent.setData(Uri.parse("tel:" +number)); startActivity(intent);
You need to add this Permission to your manifest.