简体   繁体   English

获取USSD代码在Android中请求文本

[英]Get USSD codes reques text in android

[Edit] i want to retrieve USSD code result text,how can do it? [编辑]我要检索USSD代码结果文本,该怎么办?

for example : after calling *12345*1# my device show a popup message for me, i want to get that text. 例如:拨打* 12345 * 1#后,我的设备为我显示了一条弹出消息,我想获取该文本。

can anyone help me? 谁能帮我?

You can see an example of someone doing that kind of task in this github project: 您可以在此github项目中看到某人执行此类任务的示例:
https://github.com/alaasalman/ussdinterceptor.git https://github.com/alaasalman/ussdinterceptor.git

The code shows a broadcast receiver you can use in your application to receive the result of USSD code requests. 该代码显示了一个广播接收器,您可以在应用程序中使用它来接收USSD代码请求的结果。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM