Android Question opean call dailer

zavaree

Active Member
Licensed User
Longtime User
hi , i want open call dailer just whithout call , how can do it?
 

DonManfred

Expert
Licensed User
Longtime User
B4X:
    Dim in As Intent
    in.Initialize("android.intent.action.DIAL","")
    StartActivity(in)
 
Upvote 0

zavaree

Active Member
Licensed User
Longtime 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)
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

zavaree

Active Member
Licensed User
Longtime User
I acted according to the code you sent and I did exactly that, I am attaching the code image
 

Attachments

  • Capture-1.JPG
    Capture-1.JPG
    39.2 KB · Views: 85
Upvote 0

Mahares

Expert
Licensed User
Longtime 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.
 
Upvote 0

zavaree

Active Member
Licensed User
Longtime 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.
 
Upvote 0
Top