Joe Bohen
Posts: 0
Joined: Wed Nov 28, 2012 11:28 am

start - Stop Service

I have added the Tiggzi geolocation service to my page and wish to start - stop the service from a button! How do you do this correctly? Also the service allows for both a time period and the option to listen for movement if both are set does the location service fire at the set period only when there is movement detected?

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

start - Stop Service

Hello!
You can run Geolocation using Invoke Service action. But it's impossible to stop it.

Joe Bohen
Posts: 0
Joined: Wed Nov 28, 2012 11:28 am

start - Stop Service

Hi Katya,

I wanted to use the service to upload positions to a rest service but without the ability to stop the geolocation service I will not be able to do this. Would you use the phonegap geolocation activated on a timer or would you advise against this method?

Regards,
Joe

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

start - Stop Service

Unfortunately it's impossible to stop Geolocation.

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

start - Stop Service

When navigating to another page, stops the service. There must be a way to stop it while on the same page with the toggle component or button click event?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

start - Stop Service

When you navigate to another page, Appery.io removes this service

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

start - Stop Service

I said I am on the same page and want to stop a service. How do you stop any service? Can u without going to another page?

Return to “Issues”