Android Question opean call dailer

zavaree

Active Member
Licensed User
B4X:
    Dim in As Intent
    in.Initialize("android.intent.action.DIAL","")
    StartActivity(in)
Hi, I used your code but got the error below!
hamkaran_frm_call_click (java line: 449)
android.content.ActivityNotFoundException: No Activity found to handle Intent {act = android.intent.action.DAIL flg = 0x20000}
at android.app.Instrumentation.checkStartActivityResult (Instrumentation.java:1879)
at android.app.Instrumentation.execStartActivity (Instrumentation.java:1546)
at android.app.Activity.startActivityForResult (Activity.java:4298)
at android.app.Activity.startActivityForResult (Activity.java:4245)
at android.app.Activity.startActivity (Activity.java:4582)
at android.app.Activity.startActivity (Activity.java:4550)
at anywheresoftware.b4a.keywords.Common.StartActivity (Common.java:846)
at asm.legal.com.hamkaran_frm._call_click (hamkaran_frm.java:449)
at java.lang.reflect.Method.invoke (Native Method)
at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:186)
at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:170)
at anywheresoftware.b4a.BA.raiseEvent (BA.java:166)
at anywheresoftware.b4a.objects.ViewWrapper $ 1.onClick (ViewWrapper.java:80)
at android.view.View.performClick (View.java:5714)
at android.view.View $ PerformClick.run (View.java:22589)
at android.os.Handler.handleCallback (Handler.java:739)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:148)
at android.app.ActivityThread.main (ActivityThread.java:7325)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run (ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1120)
 

DonManfred

Expert
Licensed User

Mahares

Well Known Member
Licensed User
I acted according to the code you sent
The least you can do is follow Manfred suggestion and also correct the title of your thread so others can find: 'opean call dailer'
How do you expect this forum to be reliable if you do not make an effort to at least type the correct title. For most of us, English is not the native language and should not be used as an excuse when it comes to thread title. A small effort goes a long way if you are careful with your thread title spelling.
 

zavaree

Active Member
Licensed User
The least you can do is follow Manfred suggestion and also correct the title of your thread so others can find: 'opean call dailer'
How do you expect this forum to be reliable if you do not make an effort to at least type the correct title. For most of us, English is not the native language and should not be used as an excuse when it comes to thread title. A small effort goes a long way if you are careful with your thread title spelling.

Yes, that's right, once again, I want to send a mobile number to the contact area, but it won't automatically ring until I hit the call button. I have a code that directly opens and calls the contact page. But I want to go to the contact page and enter the contact number and then the caller presses the phone button again to call.
 
Top