gentlecat / counter

🔢 Tally counter for Android
https://f-droid.org/repository/browse/?fdid=me.tsukanov.counter
Apache License 2.0
103 stars 53 forks source link

Pat/tap to count #84

Open TheCodeingPadawan opened 4 years ago

TheCodeingPadawan commented 4 years ago

I would like to suggest a feature that would allow you to increment a counter by patting/tapping your phone, without the need to fumble with buttons or having the display on at all times.

This could be achieved by allowing the app to run in the background while monitoring accelerometer input. Like a pedometer, but instead of looking for g-force patterns that looks like steps, it looks for sharp shocks that tapping your phone in your pocket would induce.

E.G. 2 distinct deliberate tap's count up. 4 distinct deliberate tap's count down. 6 distinct deliberate tap's reset. (I'm adding a separation of 2 to account for accidental taps).