H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User May 1, 2017 #1 I used this code to make USSD command: Code: 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 ?
I used this code to make USSD command: Code: 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 ?
Erel B4X founder Staff member Licensed User Longtime User May 1, 2017 #2 What does the msgbox show? Upvote 0
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User May 1, 2017 #3 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: May 1, 2017 Upvote 0
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.
Erel B4X founder Staff member Licensed User Longtime User May 1, 2017 #4 I don't think that it is possible as it is a system dialog. Upvote 0