I am trying to parse USSD response by carrier network.Found a link https://github.com/alaasalman/ussdinterceptor but it does not support for 4.2.2 and above. Is there any api or method to attain such?
Asked
Active
Viewed 1,848 times
1 Answers
0
Finally able to get response, Basically a background "Accessibility Service" is running which receives callback by the system whenever system accessible events are fired and app filter out the event when alert dialogue after calling USSD which in our case "android.app.AlertDialog" is shown and at this instance we can retrieve the data sent by the operator. "Accessibility Service" for particular app needs to be enabled manually by the end user not programmatically by code because of security purpose mentioned by android.

user229044
- 232,980
- 40
- 330
- 338

vishal sharma
- 319
- 4
- 15
-
You can also follow the link http://stackoverflow.com/a/34132708/2648780. If you got any other issue let me know. – vishal sharma Jan 25 '17 at 05:21