F Fox Active Member Licensed User Longtime User Jul 18, 2011 #1 B4X: Sub Process_Globals Dim Phone As PhoneCalls End Sub Sub Phone_Click Phone.Call(12344) End Sub this code in an widget modul don't work? The PhoneCalls are unsupported in widget?!
B4X: Sub Process_Globals Dim Phone As PhoneCalls End Sub Sub Phone_Click Phone.Call(12344) End Sub this code in an widget modul don't work? The PhoneCalls are unsupported in widget?!
K kickaha Well-Known Member Licensed User Longtime User Jul 18, 2011 #2 I dod not know if PhoneCalls works in a Widget or not, but the phone number needs to be a string B4X: Sub Process_Globals Dim Phone As PhoneCalls End Sub Sub Phone_Click Phone.Call("12344") End Sub Give it a try. Upvote 0
I dod not know if PhoneCalls works in a Widget or not, but the phone number needs to be a string B4X: Sub Process_Globals Dim Phone As PhoneCalls End Sub Sub Phone_Click Phone.Call("12344") End Sub Give it a try.
F Fox Active Member Licensed User Longtime User Jul 18, 2011 #3 kickaha said: I dod not know if PhoneCalls works in a Widget or not, but the phone number needs to be a string B4X: Sub Process_Globals Dim Phone As PhoneCalls End Sub Sub Phone_Click Phone.Call("12344") End Sub Give it a try. Click to expand... tnx I have solved it with: Sub Process_Globals Dim Phone As PhoneCalls End Sub Sub Call_Click StartActivity(Phone.Call("12344")) End Sub Last edited: Jul 19, 2011 Upvote 0
kickaha said: I dod not know if PhoneCalls works in a Widget or not, but the phone number needs to be a string B4X: Sub Process_Globals Dim Phone As PhoneCalls End Sub Sub Phone_Click Phone.Call("12344") End Sub Give it a try. Click to expand... tnx I have solved it with: Sub Process_Globals Dim Phone As PhoneCalls End Sub Sub Call_Click StartActivity(Phone.Call("12344")) End Sub