Answer the question
In order to leave comments, you need to log in
How to parse USSD request response in Android using logcat?
I took an example of this code -
https
: //github.com/djkevincr/sep_project/tree/mast ... what should have been found in the logs is:
W/Trace ( 679): Unexpected value from nativeGetEnabledTags: 0
D/CallManager( 679): handleMessage msgid:114
D/CallManager( 679): handleMessage (EVENT_MMI_COMPLETE)
D/PhoneGlobals( 679): onMMIComplete()...
D/PhoneUtils( 679): displayMMIComplete: state=COMPLETE
D/PhoneUtils( 679): Extended NW displayMMIComplete removeMsg
D/PhoneUtils( 679): - using text from MMI message: 'Balans: 321.75.'
D/PhoneUtils( 679): MMI code has finished running.
D/PhoneUtils( 679): Extended NW displayMMIInitiate (Balans: 321.75.)
V/Provider/Settings( 679): from settings cache , name = security_locker , value = null
// do not write all imports, I will only write that do not forget to include the USSD classBut this class is not used if you write
import com.example.android.UssdMessage.USSD;
<uses-permission android:name="android.permission.CALL_PRIVILEGED"></uses-permission>
Underlined in red, and I don’t see the point of it, since it’s the same thing CALL_PHONE
but with the ability to call emergency numbers.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question