R Robert_Poland Member Licensed User Jun 11, 2016 #1 Hi, Can you hint how to do that when you press the key, the phone rang over 10s whereupon I hung up and returned to the application. BR Robert Sub ON1_LongClick StartActivity(p.Call(number.Text)) End Sub
Hi, Can you hint how to do that when you press the key, the phone rang over 10s whereupon I hung up and returned to the application. BR Robert Sub ON1_LongClick StartActivity(p.Call(number.Text)) End Sub
Erel B4X founder Staff member Licensed User Longtime User Jun 12, 2016 #2 You need to start a service with StartServiceAt and then call StartActivity(Main) from Service_Start. Upvote 0
You need to start a service with StartServiceAt and then call StartActivity(Main) from Service_Start.
R Robert_Poland Member Licensed User Jun 13, 2016 #3 Ok I have , and I can call but hang up? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jun 13, 2016 #4 There is no reliable way to hang up an active call. You can try this library: https://www.b4x.com/android/forum/threads/answercall-library.12887 Upvote 0
There is no reliable way to hang up an active call. You can try this library: https://www.b4x.com/android/forum/threads/answercall-library.12887