Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Service Stop and Restart Alone

$
0
0

Well Before than nothing i want say that I don't speak English very well, sorry if I write anything wrong..

Well My problem is the next, i am working with a services, want a timer that count the time that my app is working, I created a Service of this form:

And this is the task that i want to do:

when i run the app the service execute correctly, and the process too, and if I close the app all continue working fine.

Past a few time how 40 seconds or less with the app closed the process stopped. The Service continue but the process not.

In knows that the problem is with this:

But with 'ContinuationMask' is the unique form that i can get the process executing, With NotSticky, RedeliverIntent, Sticky or StickyCompatibility, I can't get the object of the process executting in the Service.

I Don't know what to do..


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>