runnerup icon indicating copy to clipboard operation
runnerup copied to clipboard

Add control via vol-/+ buttons

Open dimka11 opened this issue 2 years ago • 8 comments

Please add control start / stop / new lap in activity using volume control buttons

dimka11 avatar Jul 14 '21 06:07 dimka11

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.

gerhardol avatar Jul 14 '21 07:07 gerhardol

Many stopwatch apps / cameras have vol buttons control, of course it's works only if app in foreground

dimka11 avatar Jul 14 '21 15:07 dimka11

...and are media apps, so background music will not be possible.

gerhardol avatar Jul 14 '21 16:07 gerhardol

Any other idea or solution to do a new lap without using the phone itself?

Uatschitchun avatar Sep 21 '21 17:09 Uatschitchun

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).

gerhardol avatar Sep 21 '21 18:09 gerhardol

I thought it may be could be possible to use my MiBand4 together with notify&fitness app, to somehow control laps?

Uatschitchun avatar Sep 23 '21 16:09 Uatschitchun

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.)

gerhardol avatar Sep 23 '21 16:09 gerhardol

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

Uatschitchun avatar Sep 24 '21 11:09 Uatschitchun