<“td>Phone: 900 300 400</td”>
without the “”.
That I shamelessly found online, but how can I connect it and make it so that if I press this button, it calls this number? Thanks!
October 28, 2021, 2:49pm
Oh okay. How would I make a button that opens the phone app and enters number on android?
The most I found was to make the click on a button to input the phone number. You just need to press the call button to make the call happen.
(Tested on my Android phone, using the preview on LAN/Wifi)
I hope it helps.
October 28, 2021, 6:59pm
This also works (build an APK and tried it on a smartphone):
Window.open() method allows you to open a pop-up window, so you can go to another page (by providing a link) or launch an application. The specified ‘tel’ value is recognized as starting the calling program. If you pass the correct link to the application, you can use any application ( Open another application from your application in cordova).
Great to know. It could be useful for my platform game to show the place in the default map app, choosing an option in the selection screen.