Paritosh K
Posts: 0
Joined: Sun Dec 07, 2014 1:29 am

The phone call button doesn't work.

Hi please help. i want to save my database array in phone local storage.so i dont need to connect to internet all the time.i have uploaded the csv data i just need the data once saved in phone can be viewed without internet.i am just a beginner please help me out.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

The phone call button doesn't work.

Hi Paritosh,

You can store needed information in local storage or SQL lite.

Here is tutorial that could help you to understand how it works:

http://devcenter.appery.io/tutorials/...

Regards.

Paritosh K
Posts: 0
Joined: Sun Dec 07, 2014 1:29 am

The phone call button doesn't work.

I WANT ONE PAGE LANDSCAPE ONLY

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

The phone call button doesn't work.

Hi

window.open('tel:' + Appery('Phone').text(), '_system');

Works fine on Android. Does not work on Apple Iphone 6

window.open('mailto:' + Appery('Email').text(), '_system'); works fine on both.

Can anyone shed some light, please.

Thx

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

The phone call button doesn't work.

Hi Deon -

Let us know if the below JS code works for you:
pre
code
var number = Apperyio("Phone").text().replace(/[ \n\r]/gi, "");
window.open('tel:' + number, '_system');
/code
/pre

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

The phone call button doesn't work.

Hi Illya. It works, thank you. Can I presume that this is also the case with other window.open commands.

I see window.open('geo:0,0?q=' + Appery('Address').text(), '_system'); does not work either?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

The phone call button doesn't work.

So, it doesn't works for you for every label references in your app?

Could you please specify what Libraries version are you using in your app?

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

The phone call button doesn't work.

Hi Illya

The code you gave me above works perfectly for the Phone but I see using it to open google maps with window.open('geo:0,0?q=' + Appery('Address').text(), '_system'); does not work. Do you have a solution to that?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

The phone call button doesn't work.

Hi Deon - Could you please clarify on what platform you using this code? The string seems to be correct if you wrap value into variable and then use .replace method -- or is it just doesn't opens Google maps?

Return to “Issues”