SamAmco / track-and-graph

An android app for tracking personal data and creating custom graphs
GNU General Public License v3.0
434 stars 39 forks source link

Adding data points through intents. #153

Open RobertZenz opened 2 years ago

RobertZenz commented 2 years ago

There's already #6 which is concerned about adding Tasker functionality to allow automation. In the same vein it would be nice if the app would accept new values through Android Intents. That would allow other apps, including Tasker, to easily add values to graphs and would open up the possibility to automate adding values.

That should be fairly easy to implement, as only a single intent is needed which basically accepts two parameters, the name of the graph and the value itself. The value itself can be expected to be in the correct format/type, I'd say.

That might raise a security question, but maybe making the receiver disabled by default would be a solution.

I might be able to work on this if this is of interest, though, I've never done Kotlin before, so no promises.

dgudim commented 1 month ago

Second this!