Hannah
Posts: 0
Joined: Mon Sep 22, 2014 3:37 pm

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

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.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

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

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

Hannah
Posts: 0
Joined: Mon Sep 22, 2014 3:37 pm

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

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!? :(

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

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

Hannah,

Could you please detail the Android version that you use?

Hannah
Posts: 0
Joined: Mon Sep 22, 2014 3:37 pm

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

I'm using Android Version 4.4.2

Hannah
Posts: 0
Joined: Mon Sep 22, 2014 3:37 pm

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

Is that what you were looking for?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

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

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

Mohammad Salek
Posts: 0
Joined: Fri Oct 03, 2014 9:39 am

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

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.

Hannah
Posts: 0
Joined: Mon Sep 22, 2014 3:37 pm

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

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

Mohammad Salek
Posts: 0
Joined: Fri Oct 03, 2014 9:39 am

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

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

Return to “Issues”