164
Views
13
Comments
Solved
Button to call
Question

Is it possible to make a call directly from a button I created "Mybutton"


Tried doing that and it works but not as I want.

The button is connected to "Events â–ºonclick â–º RedirectToURL

Number to call "Events â–ºURL â–º "tel:"+Country - number to cal.

When I press the "Mybutton" for calls, the app for calls starts up.

I'm trying to get the Mybutton to make the call directly without doing it with the phone app.


The reason for that is that I want to be able to connect Ble keyboard with Shortcut Keys Reactive to make the call.

2024-12-10 04-40-04
Gitansh Anand
Solution

Hi @John Forsberg, As far as I know you can not make direct phone calls with html, it will only take you to an app, so I suggest you use a plugin.

Here are some suggestion from forge:
1. PhoneCall
2. Phone Call Plugin
3. Call Direct Plugin
4. Native Phone Call Plugin

Thanks
Gitansh Anand

UserImage.jpg
John Forsberg

Daniel Kuhlmann

Is ranked number 6 and should know but maybe he misunderstood the question.

But I'll look into your suggestions, the Call Direct Plugin seems promising.


Thanks for the help

John

2023-04-16 15-25-31
Krishnanand Pathak
Solution

Hi @John Forsberg ,

I tried the Call Direct Plugin as also suggested by gitansh it works as expected(make direct phone calls ).
Oml is also attached for reference.

Regards
Krishnanand Pathak

MobileTestCom.oml
UserImage.jpg
John Forsberg

Thanks

2023-02-13 15-34-45
BabyBear

Hi John

Can you share your OML? 

UserImage.jpg
John Forsberg

It is a bit messy.

testing some things in the program


John

KL.oap
2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi John,

The "tel: " should be implemented using the HTML widget, following this syntax:

Regards,

Daniel

UserImage.jpg
John Forsberg

I am not succeeding in what you describe to be done


John

UserImage.jpg
John Forsberg

Having a bit of a hard time understanding everything as I am new to this.

But if I don't understand where the code should be entered somewhere.

Should it be entered in the HTML Widget or in the CSS editor.

Thanks for help.

2023-04-16 15-25-31
Krishnanand Pathak

Hi @John Forsberg


You need add this to onclick-> RedirectToURL as shown below:
It will redirect you to phone caller app with the passed phone number in URL.


You can also check below post:
https://www.outsystems.com/forums/discussion/26891/mobile-app-call-a-gsm-number/#



Regards
Krishnanand Pathak

UserImage.jpg
John Forsberg

I think you didn't read my question.

"Is it possible to make a call directly from a button I created "Mybutton"

Tried doing that and it works but not as I want.

The button is connected to "Events â–ºonclick â–º RedirectToURL

Number to call "Events â–ºURL â–º "tel:"+Country - number to cal.

When I press the "Mybutton" for calls, the app for calls starts up.

I'm trying to get the Mybutton to make the call directly without doing it with the phone app.


The reason for that is that I want to be able to connect Ble keyboard with Shortcut Keys Reactive to make the call."


John

2023-04-16 15-25-31
Krishnanand Pathak

I did read your question.
I was attempting to explain how to use tel suggested by Daniel as you asked for and the use case of tel .

UserImage.jpg
John Forsberg


Ok sorry took for granted that you didn't read the thread.

Daniel writes that I should use the HTML Widget.

But where should the code be entered.

Do you have a screenshot that shows it? right now I'm trying to search around the forum for answers.


John

2024-12-10 04-40-04
Gitansh Anand
Solution

Hi @John Forsberg, As far as I know you can not make direct phone calls with html, it will only take you to an app, so I suggest you use a plugin.

Here are some suggestion from forge:
1. PhoneCall
2. Phone Call Plugin
3. Call Direct Plugin
4. Native Phone Call Plugin

Thanks
Gitansh Anand

UserImage.jpg
John Forsberg

Daniel Kuhlmann

Is ranked number 6 and should know but maybe he misunderstood the question.

But I'll look into your suggestions, the Call Direct Plugin seems promising.


Thanks for the help

John

2023-04-16 15-25-31
Krishnanand Pathak
Solution

Hi @John Forsberg ,

I tried the Call Direct Plugin as also suggested by gitansh it works as expected(make direct phone calls ).
Oml is also attached for reference.

Regards
Krishnanand Pathak

MobileTestCom.oml
UserImage.jpg
John Forsberg

Thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.