phowarso
New Member
I ran my project in V 9.8.
PhoneCalls was not worked properly.
I declared "AddPermission(android.permission.CALL_PHONE)" in Manifest file.
I used not only "Intent" but also "PhoneCalls".
Both was not worked properly.
When I clicked on "imvPhone" (imageView), the app run out on the running.
I want to call directly without using "ACTION_VIEW".
Please give me any suggestions.
Thank you!!!
My Code is ....
------------------
Sub Globals
Private imvPhone As ImageView
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Main")
End Sub
Sub imvPhone_Click
' Dim i As Intent
' i.Initialize(i.ACTION_CALL,"tel:09447775551")
' StartActivity(i)
Dim ph As PhoneCalls
StartActivity(ph.Call("09447775551"))
End Sub
PhoneCalls was not worked properly.
I declared "AddPermission(android.permission.CALL_PHONE)" in Manifest file.
I used not only "Intent" but also "PhoneCalls".
Both was not worked properly.
When I clicked on "imvPhone" (imageView), the app run out on the running.
I want to call directly without using "ACTION_VIEW".
Please give me any suggestions.
Thank you!!!
My Code is ....
------------------
Sub Globals
Private imvPhone As ImageView
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Main")
End Sub
Sub imvPhone_Click
' Dim i As Intent
' i.Initialize(i.ACTION_CALL,"tel:09447775551")
' StartActivity(i)
Dim ph As PhoneCalls
StartActivity(ph.Call("09447775551"))
End Sub