Page 1 of 2
How do I create a button for phone calls, make calls to numbers that come from the database.
Posted: Tue Aug 19, 2014 3:40 am
by Rafael Marques
How do I create a button for phone calls, make calls to numbers that come from the database.
Ex:
I have 20 companies in the database, when I load the page the first company, the button calls, have to call the phone company first.
When I click on the company 3, the button calls have to call the company 3.
Can you help me?
How do I create a button for phone calls, make calls to numbers that come from the database.
Posted: Tue Aug 19, 2014 3:41 am
by Rafael Marques
How do I create a button for phone calls, make calls to numbers that come from the database.
Posted: Tue Aug 19, 2014 4:02 am
by obullei
How do I create a button for phone calls, make calls to numbers that come from the database.
Posted: Tue Aug 19, 2014 1:33 pm
by Rafael Marques
Hi, this code you gave me, is pre populated.
window.location.href = "tel: +375292771265";
How do I get that number come from the database?
How do I create a button for phone calls, make calls to numbers that come from the database.
Posted: Tue Aug 19, 2014 9:00 pm
by Rafael Marques
Hi, this code you gave me, is pre populated.
window.location.href = "tel: +375292771265";
How do I get that number come from the database?
How do I create a button for phone calls, make calls to numbers that come from the database.
Posted: Tue Aug 19, 2014 10:21 pm
by Erwin Will
Use the link like Arina said. In your service create a local storage variable that the number is put into. So in your UI side create a button and put a click action on it that runs javascript.
In your javascript put this code window.location.href='tel:'+ localStorage.getItem('WhatEverYourLocalStorageVariableIs');
that should do the trick
How do I create a button for phone calls, make calls to numbers that come from the database.
Posted: Wed Aug 20, 2014 3:01 am
by Rafael Marques
Thank you friend, it worked!
How do I create a button for phone calls, make calls to numbers that come from the database.
Posted: Wed Aug 20, 2014 3:01 am
by Rafael Marques
Thank you friend, it worked!
How do I create a button for phone calls, make calls to numbers that come from the database.
Posted: Wed Aug 20, 2014 5:40 pm
by Rafael Marques
as I do in case the application is made for android and apple?
I add the two codes at once?
window.location.href = 'tel:' + localStorage.getItem ('botaotel');
window.open ('tel:' + localStorage.getItem ('botaotel'), '_SYSTEM');
How do I create a button for phone calls, make calls to numbers that come from the database.
Posted: Wed Aug 20, 2014 6:31 pm
by Evgene Karachevtsev
Rafael,
You don't have to clone your question, please ask them in one corresponding thread. Please, let's continue our conversation here: https://getsatisfaction.com/apperyio/...