Android Question Connection problem or invalid MMI code / USSD

viljemto

Member
Licensed User
Longtime User
Hi!
I am working on sending USSD commands to server. Most of the times it works OK, but sometimes I get "Connection problem or invalid MMI code" error (in attachment). I shows the same message even if I call it from dialler.

I have noticed, that this happens when phone is currently or was in near past doing something with network (receiving SMS, ending call...).

Any idea maybe how to check if network is somehow busy and put my function in timer?

With regards, Viljem
 

Attachments

  • Screenshot_2014-07-16-10-25-41.png
    Screenshot_2014-07-16-10-25-41.png
    22.1 KB · Views: 336
Top