[Edit] i want to retrieve USSD code result text,how can do it?
for example : after calling *12345*1# my device show a popup message for me, i want to get that text.
can anyone help me?
[Edit] i want to retrieve USSD code result text,how can do it?
for example : after calling *12345*1# my device show a popup message for me, i want to get that text.
can anyone help me?
You can see an example of someone doing that kind of task in this github project:
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.