Almora Well-Known Member Licensed User Longtime User Jun 15, 2017 #1 I just want to display the call screen. I tried the following code but it did not. What can I do B4X: StartActivity(p.Call("")) Attachments PicsArt_06-15-08.43.45.jpg 35.6 KB · Views: 181
I just want to display the call screen. I tried the following code but it did not. What can I do B4X: StartActivity(p.Call(""))
DonManfred Expert Licensed User Longtime User Jun 15, 2017 #2 you can try B4X: Dim i As Intent i.Initialize(i.ACTION_VIEW,"tel:") StartActivity(i) Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jun 15, 2017 #3 Your code from the first post will work. Make sure to set the phone number. Upvote 0
DonManfred Expert Licensed User Longtime User Jun 15, 2017 #4 Erel said: Your code from the first post will work. Make sure to set the phone number. Click to expand... If i understand correctly he just want to show the dialing screen. Not directly call a number Almora said: I just want to display the call screen. Click to expand... Upvote 0
Erel said: Your code from the first post will work. Make sure to set the phone number. Click to expand... If i understand correctly he just want to show the dialing screen. Not directly call a number Almora said: I just want to display the call screen. Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Jun 15, 2017 #5 I see, you are correct. PhoneCalls.Call creates an intent with ACTION_CALL. Upvote 0