Skip to content

Get GPS location in background #281

Answered by SashaCX75
pieteroskam asked this question in Q&A
Discussion options

You must be logged in to vote

I think you need to decide which version of ZeppOS you are targeting. The available features depend on it.

You can read about background services here
https://docs.zepp.com/docs/guides/framework/device/app-service/
You can also make the programme not run in the background, but continue to run after the screen is switched on.

You can read about how to store a string in memory here
https://docs.zepp.com/docs/reference/device-app-api/newAPI/fs/writeFileSync/
or here
https://docs.zepp.com/docs/reference/device-app-api/newAPI/storage/localStorage/

You can read about using geolocation on your watch here
https://docs.zepp.com/docs/reference/device-app-api/newAPI/sensor/Geolocation/

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@MyoungXUE
Comment options

@pieteroskam
Comment options

Answer selected by pieteroskam
Comment options

You must be logged in to vote
3 replies
@pieteroskam
Comment options

@MyoungXUE
Comment options

@pieteroskam
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants