I am trying to use the Intent.Action class. I know how to use the ACTION_VIEW to display a URL but I wanted to use the Intent.ACTION_DIAL to call number when th
Intent.ACTION_DIAL
try this
String no = "536171839"; Intent callintent = new Intent(android.intent.action.CALL); callintent.setData(Uri.parse("tel:" +no)); startActivity(callintent);
add this to your AndroidManifest.xml file