stepsy icon indicating copy to clipboard operation
stepsy copied to clipboard

[Feature Request] Health Connect integration

Open k2helix opened this issue 8 months ago • 6 comments

Hi, thank you for your work on this project!

I just wanted to point out a suggestion, which is to send the number of steps/kilometres to Health Connect, so that other health-related apps can access it. For instance, it would allow Smartspacer to display this data on its widget.

Some time ago I forked Pedometer and implemented it myself, so hopefully it can be of help in case it is implemented (I'm not really into android apps development so it's highly possible that it can be done way better, but maybe it can help so that's why I'm saying it).

k2helix avatar Apr 24 '25 14:04 k2helix

Hey, thanks for the idea. It's interesting, and I see it as something other people would want to benefit from. But for now, since Stepsy is still very niche, I'm not going to implement it myself. Especially seeing that in your code you are interacting with one of Google's packages, while I have dropped almost all of that shit from my devices, except maybe for gms (google services) to have properly timed notifications lol.

I'm leaving this open, as someone may be interested in making a pull request with a proper opt-in implementation.

nvllz avatar Apr 24 '25 14:04 nvllz

Hey, no problem! Thanks for your answer ✌️ I don't remember interacting with any Google package, isn't Health Connect an AOSP thing? Or what other package are you referring to?

k2helix avatar Apr 24 '25 15:04 k2helix

No idea, maybe it's fine and I'm being too harsh. But once I noticed com.google there, I wanted to answer "hell no" hahah :D

nvllz avatar Apr 24 '25 16:04 nvllz

If it is, I had no idea. I thought it was independent from Google. Where is this com.google thing you mention exactly?

k2helix avatar Apr 24 '25 17:04 k2helix

If it is, I had no idea. I thought it was independent from Google. Where is this com.google thing you mention exactly?

com.google.android.healthconnect.controller com.google.android.apps.healthdata

ch2a avatar Apr 24 '25 17:04 ch2a

On my device (Pixel running GrapheneOS) I have com.android.healthconnect.controller and com.android.health.connect.backuprestore, which are system apps, so I guess that's the package Google ships to other devices?

k2helix avatar Apr 24 '25 17:04 k2helix