Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Workout timer

So I decided to build a workout timer for cardio circuit training. I decided to create a post here for feedback and of course when I hit walls and need help stepping through the logic.

The app is to allow the user to build the workout and hit start and then not have to stare at their phone for the timer to reach zero to then move on. It should be able to notify the user visually with bright flashes of color (background colors like in the fun facts app), audibly: play a tone or buzzer or something (if enabled), and tactilely if they have the phone or wear on them give a vibration to they know to move to the next station.

First up on the list is creating the workout and the screen to get user input.

the Workout will have:

  • Number of stations (this is the number of stations in your circuit training)
  • Time @ each station
  • Time between stations
  • Number of sets (how many times you do the entire circuit)
  • Time between sets

So one of my typical workouts has 5 stations (plyometrics, heavy bag[hands], kettle bells, heavy bag[legs], battle ropes).

You are at each station for 1 minute, you have 15 seconds between each station to get to your next station. after you've gone through every station you get 30 seconds breather take a swig of some cold water and go back to station 1 and start over... to this 5 times.

This is going to be the first project that's 100% my own and not something assigned as course work by Ben Jakuben or Ben Deitch, maybe Ryan Carson will find it handy if he's doing cardio between killing the weights.

UPDATE: The repo can be found here and any one that wants to contribute is more than welcome too.

https://github.com/johnweland/hiit-timer

1 Answer

It sounds interesting and I will have a look.