runnerup
runnerup copied to clipboard
Add control via vol-/+ buttons
Please add control start / stop / new lap in activity using volume control buttons
It is not so easy to do that in recent Androids (this should be possible in RU still with Android 4.3, then Google removed this possibility).
The app could be a media application and use play etc too, but then it would not be possible to have any other media application at the same time.
It could be possible to use long press on volume buttons like what is supported in Tasker: https://tasker.joaoapps.com/userguide/en/help/eh_volume_long_press.html That is not easy to enable for the average user and still require that the screen is unlocked so I would like to leave that to Tasker. It would be good to be able to control RU from Tasker though.
Many stopwatch apps / cameras have vol buttons control, of course it's works only if app in foreground
...and are media apps, so background music will not be possible.
Any other idea or solution to do a new lap without using the phone itself?
A voice command is a possibility, but the phone need to be unlocked (or you need special Google approval.) It could be possible to add some external BT remote too, but there few consumer related such devices (I considered creating that from a TI dev kit).
I thought it may be could be possible to use my MiBand4 together with notify&fitness app, to somehow control laps?
I thought it may be could be possible to use my MiBand4 together with notify&fitness app, to somehow control laps?
Communication could likely be implemented, if the device has some way of sending the info, compare to sending HR data. For volume etc, it is more restricted who could access the button presses.
One way actually could be to use long press volume buttons, see here: https://tasker.joaoapps.com/userguide/en/help/eh_volume_long_press.html
Then a Tasker configuration could send an event to RU (that is not implemented now) that triggers a lap. But it was not reliable when I played around with it (as noted in the Tasker page). (I tried this with other means to have a quick way to control the microphone.)
The app 'notify for miband' (an alternative app to mifit) is able to send intents tasker is able to use and process. Being it lifting the arm 2 times or hitting play on music player screen. So this would be a way to remotely control laps, etc via a Miband