I want to make a dialer app that will take phone number from the user. and will dial suppose *789*phone_number# how can make this . I've so far done this...
Button call;
Intent callIntent = new Intent(Intent.ACTION_CALL);
String pnd;
call = (Button) findViewById(R.id.button5);
OnClickListener req = new OnClickListener() {
@Override
public void onClick(View p1) {
{
pnd = Uri.encode("#");
callIntent.setData(Uri.parse("tel:*2" + pnd));
startActivity(callIntent);
}
}
};
call.setOnClickListener(req);