'How can I implement a Fan curve-like app in Kotlin?
I'm in the process of creating an android app to control a microcontroller via Bluethooth LE. So far the app is written in Python (using Kivy and Buildozer), but, since it uses native android peripherals (like BLE), it's a pain to debug with this setup.
The reason I'm telling you all of this is that in Kivy I use a canvas widget to display a DIY line graph, I then use the on_touch_down() method to get the coordinates of the touch and check if it is within the area of a control point (or data point) so that its value can be edited by the user.
It's basically like a fan curve that you set for you PC's fans: a line graph that can be edited.
What would be the best way to implement such a thing in kotlin? (I'm not experienced with it, because I researched this topic ahead and couldn't find a solution, so I continued using Python, but this workflow is a mess)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
