这怎么可能做到在Android USSD请求? [英] How is it possible to do USSD requests on Android?

查看:185
本文介绍了这怎么可能做到在Android USSD请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

某些自定义拨号应用程序(例如,从MotoBlur的拨号)是能够做到的USSD请求。难道真的无法通过SDK做到这一点?

Some custom dialer apps (for example, Dialer from MotoBlur) are able to do USSD requests. Is it realy impossible to do this via SDK?

推荐答案

您可以拦截USSD效应初探,为了做到这一点,你需要实现IExtendedNetworkService.aidl接口,结合与PhoneUtils服务。然后,它可以拦截任何USSD响应,你可以阅读你的应用程序很容易。 仅供参考 <一href="https://github.com/alaasalman/ussdinterceptor">https://github.com/alaasalman/ussdinterceptor

You can intercept the USSD reponse , In order to do that you need to implement IExtendedNetworkService.aidl interface which binds the service with PhoneUtils. It then can intercept any USSD response and you can read that in your app easily . FYI https://github.com/alaasalman/ussdinterceptor

这篇关于这怎么可能做到在Android USSD请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆