Android Question msgbox dismiss

HAH

Well-Known Member
Licensed User
I used this code to make USSD command:
B4X:
Sub Call(USSDCommand As String)
    Dim pc As PhoneCalls
    Dim i As Intent
    i.Initialize(i.ACTION_CALL, "tel:" & USSDCommand.Replace("#", "%23"))
    StartActivity(i)
   
End Sub
This code works fine, but after calling the ussd command executed, i received msgbox with OK button. How can I dismiss that msg programmatically ?
 

HAH

Well-Known Member
Licensed User
It shows a cellular network feedback's msgbox confirmation directly after ussd command executed. it only with OK button to dismiss. I want to dismiss it programmatically, or suppress it completely.
 
Last edited:
Upvote 0
Top