0

我想在 android 上开发一个余额检查器应用程序?

不幸的是,Android Jelly Bean 4.2 放弃了对 USSD 的支持。你知道有什么方法可以在 android 4.2 上支持它吗?

4

1 回答 1

0

您可以使用它:(将 120 替换为您选择的代码)

String encodedHash = Uri.encode("#");
            String ussd = "*" + "120" + encodedHash;
            startActivityForResult(new Intent("android.intent.action.CALL",
            Uri.parse("tel:" + ussd)), 1);
于 2013-11-04T20:17:48.787 回答