has anyone know how to runs USSD command for checking phone\'s credit balance (the number is *123#) and get the result (the credit balance) for further processing?? thankss<
You can use "%23" instead of "#" :
String ussdCode = "*" + "123"+"%23"; startActivity(new Intent("android.intent.action.CALL", Uri.parse("tel:" + ussdCode)));
You should also add permission to your Manifest file: