In my Android
application I would like to make a phone call automatically when user click the button. I have used the below set of code to achieve this functionality
Intent intent = new Intent(Intent.ACTION_CALL);
intent.setData(Uri.parse("tel:911"));
startActivity(intent);
and in my AndroidManifest.xml
I have added this <uses-permission android:name="android.permission.CALL_PHONE" />
permission too.
But it is just opening the dialer pad with the given 911
no instead of making a phone call.
phno="tel:10digits";
and try again. – HootenannyACTION_CALL
– Gobo