D Deleted member 103 Guest Jan 29, 2013 #1 Hi guys, can anyone tell me why this code does not work, or why the connection is not established? When I enter the number on the phone then works. Code: Copy Sub mnuCall_Click Dim p As PhoneCalls StartActivity(p.Call("*101#")) End Sub Thank you already in advance. Filippo
Hi guys, can anyone tell me why this code does not work, or why the connection is not established? When I enter the number on the phone then works. Code: Copy Sub mnuCall_Click Dim p As PhoneCalls StartActivity(p.Call("*101#")) End Sub Thank you already in advance. Filippo
Erel B4X founder Staff member Licensed User Longtime User Jan 29, 2013 #2 See this link: Problem With Phone Call Upvote 0
A AndroIwe Member Licensed User Longtime User Jan 30, 2013 #5 Edit: Found my error, "End sub" on the wrong line ;-)) ... Thanxs Hello, i tried this: Code: Copy Sub Activity_Create(FirstTime As Boolean) 'Do not forget to load the layout file created with the visual designer. For example: Activity.LoadLayout("test") Sub mnuCall_Click Dim p As PhoneCalls StartActivity(p.Call("*101%23")) End Sub But I got an Syntax error ... Core and Phone - libraries are loaded ... Any ideas? Thank you, Stephan Last edited: Jan 31, 2013 Upvote 0
Edit: Found my error, "End sub" on the wrong line ;-)) ... Thanxs Hello, i tried this: Code: Copy Sub Activity_Create(FirstTime As Boolean) 'Do not forget to load the layout file created with the visual designer. For example: Activity.LoadLayout("test") Sub mnuCall_Click Dim p As PhoneCalls StartActivity(p.Call("*101%23")) End Sub But I got an Syntax error ... Core and Phone - libraries are loaded ... Any ideas? Thank you, Stephan