如何在Android的阅读USSD消息? [英] How to read USSD messages in android?
本文介绍了如何在Android的阅读USSD消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我开发一个Android应用程序。我基本上想读的USSD响应到应用程序中。是否有任何的API这样做呢?如何获取这些信息到应用程序?
I am developing an android application. I basically want to read the USSD responses into the application. Is there any API to do so? How to fetch these messages into application?
在此先感谢
推荐答案
目前是USSD请求没有API呢。该票创建这个API未关闭。但社会上发现了几个黑客如何将此功能添加到他们的应用程序。
There is no API for USSD request yet. The ticket to create this API is not closed. But the community has found several hacks how to add this feature to their applications.
- The first approach is to parse a log. Here is you can find a class that do this. And here is a test application that uses this class.
- Also there is a second approach.
祝你好运!
这篇关于如何在Android的阅读USSD消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文