📜  Android USSD 代码示例 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:08.535000             🧑  作者: Mango

代码示例3
String ussdCode = "*123#";
Intent intent = new Intent(Intent.ACTION_CALL);
intent.setData(ussdToCallableUri(ussdCode));
try{
    startActivity(intent);
} catch (SecurityException e){
    e.printStackTrace();
}