I want to dial a special number like
*123#
which is a network request and get result sent by network.
Is this possible? How can I do it?
I want to dial a special number like
*123#
which is a network request and get result sent by network.
Is this possible? How can I do it?
Yes you can do this:
Intent calling=new Intent(Intent.ACTION_CALL);
if ( phno.contains( "#" ))
phno = Uri.encode(phno+"#");
calling.setData(Uri.parse("tel:"+( phno ) ) );
startActivity(calli);
Note:
Here phno is String
that contains phone number like *123# or 123456789