So unil this point all I can figure over was that until Android 4.2.2 there were two ways available to us :
Use the logcat and extract information from it
Runtime.getRuntime().exec( "logcat -v time -b main PhoneUtils:D");
I used this code to read thelogcat
and find out thedisplayMMIComplete
message hereUse the provided intent named
com.android.ussd.IExtendedNetworkService
and listen for this intent and do you task.
So what I've acknoweldge until now is, Since 4.0 onwards this intent has been removed and since 4.2.2 onwards printing of USSD message info in the logcat
has been removed?
Am I right until here? And secondly what's the hack or solution now to read the USSD message, there must be some way we can get through it?