How to read USSD messages in android? [closed]

送分小仙女□ 提交于 2019-11-26 11:56:13

问题


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?


回答1:


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.

  1. The first approach is to parse a log. Here is where you can find a class that do this. And here is a test application that uses this class.
  2. Also there is a second approach.

Good luck!



来源:https://stackoverflow.com/questions/6515906/how-to-read-ussd-messages-in-android

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!