We are developing an app which needs to interact with various opperators USSD menus. (USSD is GSM's Unstructured Supplementary Service Data). I have searched and searched for a solution to no avail. It may not be possible.
We need to be able to initiate a ussd session, e.g. dial *150*00#
Phone receives USSD response - ideally we hide or automate a response immediately so it simply flashes in and out.
We automate a response, and more often a series of response, receive, response until complete.
The app then scrapes in the automated sms received.
This needs to work ideally for android versions pre oreo and post, so I presume using accessibility services pre and the ussd api post. API 26 seems to work ok for a 1 step receive response but from what I read not for multiple steps.
Any help most appreciated.