4
我创建一个应用程序在Android中,这需要在后台运行USSD代码。没有送我的后台应用程序,运行USSD代码在Android和保持应用程序在firstground
每当我使用Intent.ACTION_CALL运行USSD
String ussdCode = "*" + "123" + Uri.encode("#");
startActivity(new Intent("android.intent.action.CALL", Uri.parse("tel:" + ussdCode)));
发给我的后台应用程序,并打开拨号界面上我的应用程序。
所以有可能没有前开拨号接口运行USSD代码。
谢谢。
同样的问题有:http://stackoverflow.com/questions/5449464/calls-a-ussd-number-without-opening-the-phone-app-in-android – Plugie