I\'m wanting to write a widget displays the users\' prepay balance, remaining data etc.
I\'m thinking of automatically calling the USSD code which returns this data
I'm not completely sure but I think USSD is not yet supported on android, however you can try this workaround:
startActivity(new Intent("android.intent.action.CALL",Uri.parse("tel:*123" + Uri.encode("#")));