Page 2 of 3

how to call Geolocation Service every few seconds

Posted: Wed Jul 10, 2013 1:14 pm
by Kateryna Grynko

Hello,

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


how to call Geolocation Service every few seconds

Posted: Fri Jul 12, 2013 8:52 am
by ciccio

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


how to call Geolocation Service every few seconds

Posted: Fri Jul 12, 2013 1:30 pm
by Kateryna Grynko

Hi,

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


how to call Geolocation Service every few seconds

Posted: Fri Jul 12, 2013 3:25 pm
by ciccio

thanks,
i sent it


how to call Geolocation Service every few seconds

Posted: Tue Jan 06, 2015 8:39 pm
by Lee Kraus

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


how to call Geolocation Service every few seconds

Posted: Tue Jan 06, 2015 8:46 pm
by Evgene Karachevtsev

Hello Lee,

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


how to call Geolocation Service every few seconds

Posted: Tue Jan 06, 2015 9:09 pm
by Lee Kraus

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


how to call Geolocation Service every few seconds

Posted: Wed Jan 07, 2015 2:33 am
by Yurii Orishchuk

Hi Lee,

You can change this settings in service datasource.

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

Regards.


how to call Geolocation Service every few seconds

Posted: Mon Apr 27, 2015 6:34 pm
by Tarun Srivastava

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

how to call Geolocation Service every few seconds

Posted: Thu Apr 30, 2015 1:42 am
by Yurii Orishchuk

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.