Get GPS location in background #281
-
Hi there, I develop several GPS based apps for fitbits, Apple, Wear OS and Huawei. I want to explore the Zepp OS opportunities. Before buying the actual watch, can someone tell me if the following things are possible.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
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 You can read about how to store a string in memory here You can read about using geolocation on your watch here |
Beta Was this translation helpful? Give feedback.
-
Hello @pieteroskam and welcome to the Zepp OS community! I will answer your questions one by one.
|
Beta Was this translation helpful? Give feedback.
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/