Page 2 of 3

Click an Email from a database and open in the Phones email service?

Posted: Wed Nov 05, 2014 4:54 pm
by Hannah

Thanks, the link that you sent for placing phone calls the script that I have matches what they are using but updated for my app. They are not pulling the phone numbers from a local storage, are you able to tell me if the coding that I listed above is correct? Is there some part of the code that I'm missing for pulling the value from local storage?

I have it set up that on a click event, the number is saved to the local storage and then run JS to open the the telephone with the value from local storage.


Click an Email from a database and open in the Phones email service?

Posted: Thu Nov 06, 2014 11:31 am
by Evgene Karachevtsev

Hello Hannah,

As a result when you click the button you should run this code:
prewindow.location.href = "tel:"+localStorage.getItem("inputName");/pre
for android. Please check that inputName variable actually contains the desired number
Please can check whether this code works if you use a specific room
for example
prewindow.location.href = "tel:+333333333333";/pre


Click an Email from a database and open in the Phones email service?

Posted: Thu Nov 06, 2014 2:08 pm
by Hannah

I tried these 2 codes and they both are not working. If I'm using the Apperyio Tester app I should be able to open the Dial-er right? When I test it in the Browser it says that I need a different extension to perform this action.

Here are screen shots of my events.
Image
#1 - Saving the value to local storage

Image
#2 - Running Java Script

I have also tried to use the second Java Script:
Image
#1- Saving the value to local storage

Image
#2 - Running Java Script

The Local Storage Value is set up at a String. I have tried changing it to a Number and that still didn't work.

What am I doing wrong!? :(


Click an Email from a database and open in the Phones email service?

Posted: Thu Nov 06, 2014 2:53 pm
by Evgene Karachevtsev

Hannah,

Could you please detail the Android version that you use?


Click an Email from a database and open in the Phones email service?

Posted: Fri Nov 07, 2014 3:49 pm
by Hannah

I'm using Android Version 4.4.2


Click an Email from a database and open in the Phones email service?

Posted: Mon Nov 10, 2014 2:23 pm
by Hannah

Is that what you were looking for?


Click an Email from a database and open in the Phones email service?

Posted: Mon Nov 10, 2014 2:52 pm
by Maryna Brodina

Yes, thank you! Having some delays with testing. We will post an update when have more information.


Click an Email from a database and open in the Phones email service?

Posted: Wed Nov 12, 2014 2:56 pm
by Mohammad Salek

Hi Hannah,

Sorry for delay! Trying to test this case, but having some problems with steps in order to simulate or re create your app for exact testing.

Perhaps you can share your app and your DB with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a. If so, please let us know their names.


Click an Email from a database and open in the Phones email service?

Posted: Wed Nov 12, 2014 3:05 pm
by Hannah

I have shared the app and DB with that email. The app name is Worth Higgins and the DB name is Customers.


Click an Email from a database and open in the Phones email service?

Posted: Wed Nov 12, 2014 3:26 pm
by Mohammad Salek

Thanks a lot Hannah. We are going to test it and will get back to you as soon as possible.