![]() |
[Announce] Push-It! The one button stopwatch. (Workout buddy)
Push-It is a simple one button program. Every time you push that button in increments a counter and does some time calculations.
I know it is just another stopwatch. But the one BIG button provides a special value, at least for me. Purpose/idea The purpose of that tool is to help me doing exercises. For example if I do push ups, I do a set of them. But normally I can't count how many push ups I've made, because my thoughts are going in to many directions. But if I want to improve myself one day, I want to do more push ups than usually. So I need to know how many I can do, to do some more. Therefor I'm in need of some help. Push-It is the solution. It counts every touch it receives and calculates the delta between the last touch and the touch before (time for one push up). It also calculates the delta between the last touch and the first touch (overall push up time). So you know how many pushups you did and also how long it took. And the next time I exercise, I can try to beat myself (if I want to) as I know my exact performance - or have saved it to a file. Software availability http://maemo.org/packages/view/push-it/ http://code.google.com/p/push-it/downloads/list Or download it from the application manager from the extras-devel repository. Features
Screenshot So the main thing of this application is one button. Here is the screenshot ;): http://sites.google.com/site/markuss...Fullscreen.png More screenshots can be found here. The most important thing for me was to get a new "lap time" no matter where I tap the screen. So I could hit it with my nose or any part of my body (keep your thoughts for yourself please). Screenshot explanation If you press on the screen several times you will end up with some measured times. Every touch generates 2 new lines. The first line starts with a hash '#' followed by a number which counts the number of touches and a clock which holds the elapsed time. In the next line the greek letter delta Δ stands for the time difference between the last touch on the screen and the touch before. The sum sign ∑ stands for the time difference between the last touch and the first touch. Avg is short for Average and the value represents the average time it took for each touch. Examples To imagine how I use it, some examples (more examples - including videos - here): Push-up Place the smartphone just below your nose so you can hit it with the nose. And then start pushing up. On this picture you can see the feedback you get, if you hit the device with your nose. As you might imagine I can't do as much pullups as I can do pushups so the application makes more sense of using when doing pushups. http://sites.google.com/site/markuss...01840crop.jpeg Sorry for not wearing enough cloths - it was a hot day. But with this example comes a warning - if you overdo it with exercising and collapse over your phone, you might break it. If this program is used incautiously you could break your device physically. Always be sure that you use this software and the corresponding hardware in a way that the hardware won't get damaged. This responsibility is up to the user of the software not the authors. For further reading http://sites.google.com/site/markuss...it#TOC-Warning Warning - read it before using the program. http://sites.google.com/site/markusscharnowski/n/pushit Program description http://sites.google.com/site/markuss...-life-examples Examples including photos and videos. http://sites.google.com/site/markuss...it/screenshots Screenshots Personal comments Some more comments: I never knew how many crunches I usually do - now I know: 3-4 minutes, 150-200 repetitions - don't want to count that. But for some other exercises it does not really make sense (at least for me) as I only do very little repetitions (pull-ups). Feedback is welcome. I hope I will not be the only one who finds that useful. |
Re: [Announce] Push-It! The one button stopwatch. (Workout buddy)
Thanks a lot, emesem.
I just found out how useful this app could be. :) Sometimes I'm batteling against myself and the time to solve a Rubik's Cube. For my special use case I would suggest 2 small improvements:
Apart from that a really good stopwatch. Simple, well considered and powerful! Thanks! :) |
Re: [Announce] Push-It! The one button stopwatch. (Workout buddy)
Hi Helmuth,
thank you for your feedback :). The first thing is no problem and already implemented. But I would call it "Start+Pause Mode". As I implemented it I regarded a "stop" function as useless ;), because you can either pause or do a reset. The second thing can be done by the simple brightness applet. But I think it could be easy to integrate the request functionality also into push-it. But it is not really the linux/kiss approach. But not complex anyhow. I hope I find the time to also implement that and then build a package. Hopefully it will be in extras-devel this evening, if not my deadline is this time next week ;). Regarding Rubics cube: Respect my fellow ^^. But if you would use the rubics rube of the ovi store, you would not run into the screensaver problem ;). But I dislike the rubics cube game on the N900. I prefer the mechanical version. |
Re: [Announce] Push-It! The one button stopwatch. (Workout buddy)
Quote:
I can only find a Pause button in the menu. But that does not do what this use case needs. :) I want to fast stop the time. And after I'm ready again fast start it to time the next elapse. Quote:
Quote:
Quote:
|
Re: [Announce] Push-It! The one button stopwatch. (Workout buddy)
Quote:
|
Re: [Announce] Push-It! The one button stopwatch. (Workout buddy)
Quote:
I have a other and better Idea to budget your time instead of packaging a minor relase... ;) :rolleyes: What about creating in the opposite a lock screen mode? :D (if possible) If the user locks the screen itself while your application is running start a background measurement as soon as the user has pressed the camera button (full press). You could indicate this with a sound. And every time the user make a full press of the camera button take the time (with a click sound as response) and as soon as the user unlocks the screen the background measurement is finished. Okay. A lot of work and I do not need it myself. But I guess the best way to implement a good stopwatch for sports where you have to look what you try to time and not at the screen of your mobile. :) But I don't know if it is possible to query the camera button during the screen is locked. Perhaps there is during this time no D-Bus Signal to minimize battery consumption. I don't know. :confused: |
Re: [Announce] Push-It! The one button stopwatch. (Workout buddy)
A new version of push-it is available through extras-devel.
http://maemo.org/packages/package_in...sh-it/0.1.0-2/ That version holds the "start+pause mode". Maybe there is a better name for that ^^? The screensaver-turn-off-thing will come later and the camera-button-thing is also a good idea, but that is a brand new experience for me. But thank you for your inputs. I think in my next holidays I should be able to focus on the stuff ;). Let's see what the time brings. |
Re: [Announce] Push-It! The one button stopwatch. (Workout buddy)
Quote:
Quote:
Quote:
It was only a Idea... I don't know if it's possible to read from this button when the screen is locked. |
Re: [Announce] Push-It! The one button stopwatch. (Workout buddy)
Now there is a new version extras-devel/extra-testing.
This version allows you to disable the screensaver (menu item "Disable Screensaver"). But it won't be done automatically. However push-it now stores most of the customizable settings. That means if you have disabled the screensaver once, push-it will know on the next execution and will start with disabled screensaver. The screensaver will be disabled as long as push-it is running. All versions including this have the bug, that if the screen is of, push-it still takes 7-15% cpu time and therefor draining the battery. I still need to find out how to fix that. |
Re: [Announce] Push-It! The one button stopwatch. (Workout buddy)
Sorry for not replying sooner.
Short version (from a Gtk+ point of view): when you register with osso_context you can register for a DBus signal, sent when the display blanks/gets locked. Listen for that and stop all timers, saving off the current time and timer position. Stop updating the screen. Similarly, there's a window property (or go off focus) which you can do similar with. I don't know, OTTOMH, how to do these things in Qt; but those are the two main events you want to be listening for: not being on-top (and therefore visible) and the screen being locked/blanked (and therefore not being visible). |
Re: [Announce] Push-It! The one button stopwatch. (Workout buddy)
Fixed that thing now. Thanks goes to this thread
http://talk.maemo.org/showthread.php?t=60010 But I for myself would have liked a even better fix - as soon as the application is not visible (e.g. desktop is shown, or another application is maximized) it will do the same thing. But I've not found a way to do this yet. The desktop version stops updating when it is minimized at least. But I hope every desktop computer is able to handle such a program easily :D. |
| All times are GMT. The time now is 11:54. |
vBulletin® Version 3.8.8