[英]how to capture USSD response in android
Intent callIntent = new Intent(Intent.ACTION_CALL).setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
String hash = Uri.encode("#");
String ussd = ""+code+hash;
callIntent.setData(Uri.parse("tel:"+ussd));
callIntent.putExtra("simSlot", 1);
callIntent.putExtra("com.android.phone.extra.slot", 1);
startActivity(callIntent);
请帮助捕获美元变量的usd响应
不幸的是,目前尚无标准方法来捕获android中的USSD响应。 似乎将来没有办法这样做。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.