USSD reading replies
Asked Answered
M

1

9

I have been working a bit on reading radio logs to retrieve USSD replies, rather than the aidl, though I am not yet sure which suits my purpose better. I am still hoping to trap menus as well as simple exchanges.

Anyway, I can now read the replies programmatically, but they still land onscreen in a system dialog that I need to press OK to dismiss.

Is there a programmatic way to dismiss this system dialog?

What I am writing is some code that will execute my own USSD (ie 3rd party from carrier) on an android used without human interfacing (there is no one present to press OK). It's used more to send info to the server than to receive info back. I did this on an old Wavecom modem ages ago, so it has been a frustration discovering how difficult this was to do in Android.

Makalu answered 3/2, 2013 at 7:56 Comment(10)
No API for USSD provided by Android.Last year, we did a project which track user calls & messages. we reach to parsing USSD message . if you want to buy solution, we will discuss.Dianadiandra
See this answer here it shows how to use USSD https://mcmap.net/q/1027628/-is-it-possible-to-read-the-call-cost-history-from-dialogue-raised-after-ending-the-prepaid-callGerbold
You may find more info on : dreamincode.net/forums/topic/205928-java-ussd-apiTortricid
@AbdennourTOUMI We are looking for same kinda stuff. Could you please helpRelegate
@TGMCians : let us discuss through g-mail : abdennour.toumi[at]... U'r welcomeDianadiandra
@AbdennourTOUMI i don't want to discuss personal on your gmail. stackoverflow is a platform where community share things, code, solutions to developers. nobody is here to buy your solution &..don't do business here..Relegate
@TGMCians, Alright! . .so please , don't ask for payable something hereDianadiandra
@AbdennourTOUMI I am not asking your solution which you want I will pay.. if you think like so then stop it.. again don't do business here. never post such like here. I will keep checking.Relegate
" don't do business here" .. @TGMCians, Alright! . .so please , don't ask for payable something hereDianadiandra
@AbdennourTOUMI if you think sharing knowledge here is just payable thing then go to hellRelegate
S
0

In as much as the documentation is minimal, this app actually does a good job intercepting USSD responses: https://github.com/alaasalman/ussdinterceptor

Sammiesammons answered 14/5, 2014 at 13:33 Comment(1)
github.com/alaasalman/ussdinterceptor This would only be possible in an Android version earlier than 4.2.2. In 4.2.2 the IExtendedNetworkService seems to have been removed by Google due to security risk. See issue posted at Google – code.google.com/p/android/issues/detail?id=57120 android.googlesource.com/platform/packages/apps/Phone/+/…Floria

© 2022 - 2024 — McMap. All rights reserved.