Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

how to call Geolocation Service every few seconds

Hello,

Sorry, we cannot reproduce the problem, the code is executed correctly.
Please tell us how to reproduce the issue.

ciccio
Posts: 0
Joined: Fri Jun 14, 2013 10:40 am

how to call Geolocation Service every few seconds

hello,
i'm sorry for the late answer,
when the watch position request property of my geolocation service is checked (true):
1) from the PC desktop the first time the service is run i get the alert i added to the geolocation service success event. From the second time the servis is rune i get the alert i added to the geolocation service fail event;
2) from the appery tester on my mobile (samsung galaxy S2 android 4.03) The first time i load the page i get 1 success alert, but when the geolocation service is executed after 15 sec i get 2 alerts, after more 15 sec i get 3 alerts and so on

P.S:: the public link to test the application is: http://appery.io/app/mobile-frame?src....

if you need i can share the application with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

how to call Geolocation Service every few seconds

Hi,

Please send us built APK to a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a. We'll take a look.

ciccio
Posts: 0
Joined: Fri Jun 14, 2013 10:40 am

how to call Geolocation Service every few seconds

thanks,
i sent it

Lee Kraus
Posts: 0
Joined: Mon Jan 05, 2015 12:54 am

how to call Geolocation Service every few seconds

I can't get the watch position setting to change? Is this an Appery.io setting?

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

how to call Geolocation Service every few seconds

Hello Lee,

Sorry, I'm not sure I understand you correctly. Could you please detail your issue?

Lee Kraus
Posts: 0
Joined: Mon Jan 05, 2015 12:54 am

how to call Geolocation Service every few seconds

When I am learning about geolocation service. I would like to test the "watch" service. Image

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

how to call Geolocation Service every few seconds

Hi Lee,

You can change this settings in service datasource.

See details: http://prntscr.com/5pf2i4/direct

Regards.

Tarun Srivastava
Posts: 0
Joined: Fri Apr 17, 2015 9:49 pm

how to call Geolocation Service every few seconds

Hi,
I am using the Geolocation Service on my app. My app gets the co-ordinates and then sends it to my database.
I have few questions.

  1. Is there any limit on the number of calls I can make per day to get geolocation?
  2. I see a pattern where I don't see location data on highways but reasonable data inside urban or city areas. Does that have to do with number of cellphone towers my phone can hit? I have unchecked fine grained location but still do not see location data when I travel through highways. But I am able to send push notifications and it reaches instantaneously even though my app isn't reporting any location data.
  3. Would you recommend com.google.android.gms.location over android.location? Is there any sample for com.google.android.gms.location?
    Thanks
Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

how to call Geolocation Service every few seconds

Hi Tarun,

pre

1. Is there any limit on the number of calls I can make per day to get geolocation?

/pre

Nope device geolocation service have not these limitations.

2 - you need to set "enableHighAccuracy" option in the "before send" service mapping.
Details: http://prntscr.com/6zre41/direct

  1. It's up to you what to use in your app. Appery.io based on Cordova/phonegap. There is a lot of plugins for this system. Also you can write your own.

    Regards.

Return to “Issues”