Page 1 of 1

start - Stop Service

Posted: Sat Dec 29, 2012 9:01 am
by Joe Bohen

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?


start - Stop Service

Posted: Sat Dec 29, 2012 9:29 am
by Kateryna Grynko

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


start - Stop Service

Posted: Sat Dec 29, 2012 9:48 am
by Joe Bohen

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


start - Stop Service

Posted: Sat Dec 29, 2012 10:53 am
by Kateryna Grynko

Unfortunately it's impossible to stop Geolocation.


start - Stop Service

Posted: Fri Sep 18, 2015 1:58 pm
by Deon

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?


start - Stop Service

Posted: Tue Sep 22, 2015 6:52 pm
by Serhii Kulibaba

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


start - Stop Service

Posted: Thu Sep 24, 2015 8:24 am
by Deon

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?