I looked at an open source project called Waistline:
This product should ideally help the users lose weight.
There is a connection between this product and Open Food Facts (an open source database of food products) so the user can scan the package of the product in question or eaten and the calories will be automagically calculated.
What I'm missing here is the number of burnt calories which can be acquired by using… Gadgetbridge!
I was wondering, how can these 2 transfer data between them and what sort of cooperation is needed from the other side.
This could be a major breakthrough in open source diet and will provide a great added value to both products.
This is the feature request on the other end:
https://github.com/davidhealey/waistline/issues/71
Sounds like a good idea to me. I actually thought about combining Gadgetbridge with food/habit/activity logging apps long time ago, but haven't had the time to pursue this.
From my POV, there's two options:
Ah! Sorry to be offtopic, but I had entirely missed the fact that app connected to OpenFoodFacts for its calculations. I saw it in F-Droid, but I kind of assumed it was yet another BMI calculator and little more. The "daily intake calculator" connection OFF is something I had thought about before and wondered if any app could do it!
To make up for being offtopic a little: remember there is also OpenScale which is a "parallel" project to Gadgetbridge in a sense, and would also be useful as part of an integrated body monitoring system.
@LuccoJ
I completely share your enthusiasm and you also brought up yet another brilliant idea, having all these bad boys working together will keep all the shady data collectors from leeching the data right off of your body while having the ability to follow a progress and potentially improve your health and lose weight while keeping the progress as private as you want it to be.
Now we need the guys from the other projects to hold the same beliefs and we're good to go :smile:.
@cpfeiffer Is there any example of using ContentProvider?
Can it be used from Web based Android app (Cordova)?
We briefly talked about the option of using exported data, it's not so trivial and convenient, I think the first option is better given that it's possible.
I am the maintainer of openScale @yarons open on https://github.com/oliexdev/openScale/issues/336 a new issue with the request to provide the openScale data to waistline or other 3rd party apps. I just wanted to let you know that I am wiling to support this. A simple content provider was just released in the latest openScale version 1.8.2. An example app how to grab the data via the openScale content provider was created by @erijo on https://github.com/erijo/openScale/tree/connector. If you have a question feel free to ask.
Throwing a thought out there from "neutral ground": how would you (as in, the developers of the so far three apps involved) see doing some mutual "PR", as in having mentions of each other's apps ("Do you have a wearable instead of a scale? Try GadgetBridge!", "Do you want to keep track of your diet? Try Waistline together with openScale"), or maybe even thinking about going as far as getting some kind of common "branding" — not talking anything commercial, just a way for users to notice visually that these apps are in some way related to each other?
Guys, @oliexdev has just added his PR for interfacing with openScale and it looks awesome, can't wait to use it (and lose weight while I'm at it).
https://github.com/davidhealey/waistline/pull/119
Thank you so much for your amazing work!
Most helpful comment
I am the maintainer of openScale @yarons open on https://github.com/oliexdev/openScale/issues/336 a new issue with the request to provide the openScale data to waistline or other 3rd party apps. I just wanted to let you know that I am wiling to support this. A simple content provider was just released in the latest openScale version 1.8.2. An example app how to grab the data via the openScale content provider was created by @erijo on https://github.com/erijo/openScale/tree/connector. If you have a question feel free to ask.