Good morning,
I'm developing Android app, which track user heart rate. So i have a question, will be good way and practice to use the foreground serive if the application needs to connect to the watch via bluetooth and then track the users heart rate all the time even if the application goes to the background or user open music player?
Thank you in advance for your answer
Yes, that's the point of foreground service
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.