Wish GPS not read in service module in release mode

rkxo

Active Member
Licensed User
Longtime User
Hi
I have problems creating a gps location reader in a service module in release mode. When i change gps location not call the GPS1_LocationChanged event. In debug mode instead, it works for me.

And another thing, there is some example where the gps keep reading the position changes of android in when ** Activity (main) Pause and UserClosed = true ** (background in service module). I've been looking at the forum and I do not quite understand the operation of the service.foreground in this case.

thanks
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…