Dial USSD code?
android
Solution
I'm not completely sure but I think USSD is not yet supported on android, however you can try this workaround:
String encodedHash = Uri.encode("#");
String ussd = "*" + encodedHash + "123" + encodedHash;
startActivityForResult(new Intent("android.intent.action.CALL",
Uri.parse("tel:" + ussd)), 1);
Problem
When I dial a directly from the handset it works. For example: *123# gets balance of number. However, when I try to do the same thing from within an application I get a problem. The number displayed in the dialer is missing the ending #. I need it in my application i want my app should support all the USSD codes. Is there any way to dial ussd codes with in the application?