Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Notification Scraping #35

Open
rspier opened this issue Mar 31, 2024 · 0 comments
Open

Support Notification Scraping #35

rspier opened this issue Mar 31, 2024 · 0 comments

Comments

@rspier
Copy link

rspier commented Mar 31, 2024

It would be cool if G-Watch-Wear natively supported extracting BGs from tray notifications. XDrip+ does this already, but having to run both XDrip+ and G-Watch-Wear just causes extra battery drain. (And XDrip+'s implementation seems to have high update latency or some other sort of fuzziness.)

Here's an example of how to use NotificationListenerService: https://github.com/Chagall/notification-listener-service-example.

The XDrip+ code is in app/src/main/java/com/eveningoutpost/dexdrip/services/UiBasedCollector.java in their repo. (But it's GPL, so can't be directly used in G-Watch-Wear.)

Thanks-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant