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