Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,603 Members 41,478 Now Online
XDA Developers Android and Mobile Development Forum

[APP] 100 Pushups - Beta - Stage1 - 0.1.9 [23/07/2010]

Tip us?
 
Gaz25
Old
(Last edited by Gaz25; 20th September 2010 at 09:18 PM.)
#1  
Senior Member - OP
Thanks Meter 1
Posts: 160
Join Date: Jul 2008
Location: Bedford
Talking [APP] 100 Pushups - Beta - Stage1 - 0.1.9 [23/07/2010]

As requested I have begun development on a windows mobile version of a program on the iphone called "100 Pushups"
Web Link: http://www.hundredpushups.com/.
The idea of the application is to put you on a 6 week program which will lead you to being able to perform 100 push-ups. This is achieved by performing so many reps, for so many sets, 3 times a week. At the end of each week you will be tested on how many you can do and then a program is worked out for the following week. You can track your progress via bar charts and logs.


GUI PREVIEW VERSION ADDED. SEE POST #115
-(UPDATED 20-09-2010)

There will be 3 stages of the development of the program.

Stage 1 - Functionality.
At this point all I am concerned about is "does it work?". This means the GUI will probably look rubbish but the idea is to ensure the program is doing as it should.

Stage 2 - GUI
Once I'm happy with stage 1 I will begin developing a nice GUI to make a better user experience and to make the program look half decent

Stage 3 - Final

This is the point where I will start adding people's request/suggestions, fine tuning etc. Once done the version will then end Beta and become final build.

See Post 2 for changes log

Requirements:
.Net 3.5 for Windows Mobile
Developed for Windows Mobile 6.5.3. Not sure if it will work on anything less.

Example on how to use
Lets say you start this program on a Sunday
Sunday - Perform as many "good form" push-ups as you can and enter value.
Monday - Do first day Program.
Tuesday - Rest
Wednesday - Do second day program.
Thursday - Rest
Friday - Do third day program.
Saturday - Rest
Repeat.
Using the above example, every time you get to Sunday you will be required to enter a new value. This will set the program up for the next weeks training.


NOTE: First Release - Please take the following under consideration before testing.
# This is at Stage 1 so yes it will look rubbish! lol
# The "Good Form" button is disabled at the moment so pushing it will do nothing.
# If the program is in first run mode i.e no push-ups have been logged, pushing the graphs button will display random data. This is just for beta testing.
# This was developed and tested on the HTC HD2 only. I'm not sure what it will look like on other devices as I have none to test with.
# Upon first launch a log file will be created in \My Documents\PushupLog\. I suggest backing this up when trying new versions of this program as it contains all your progress!
# The Graph may not display correctly on other devices and I'm already working on fixing that.
# To clear all the data simply delete the log file located in "\My Documents\Pushuplog\log"


NOTES FOR STAGE 1 BETA TESTERS
If you press the menu button you will notice a sub menu called Debug. Here is an explanation on what the options are.
# Reset Timer - In the "Todays Program" screen, pushing this buttons will set the rest timer to 2 seconds. This is if you wish to quickly skip through the rest periods.
# Maximize - Basically just makes the program full screen (covers top task bar).
# No Limit - Check this if you want the program to ignore when you can perform the next program.


IF YOU ARE UPDATING FROM VERSION 0.1.7 OR BELOW PLEASE DO THE FOLLOWING
# Uninstall previous version.
# Go into "\Program Files" folder and delete folder "Pushups". There also maybe a file in the "\Program Files" folder called "100 push-ups - beta", delete this too.
# Go to "\My Documents" and delete the folder named "PushupLog"
Attached Files
File Type: cab Pushups_Setup_0.1.9.CAB - [Click for QR Code] (1.16 MB, 1026 views)
 
Gaz25
Old
(Last edited by Gaz25; 23rd July 2010 at 11:11 PM.)
#2  
Senior Member - OP
Thanks Meter 1
Posts: 160
Join Date: Jul 2008
Location: Bedford
Release Log

# 0.1.9 [23/07/2010]
- Added "No Limit" option to Debug menu. Pressing this will cause the application to ignore rest periods between programs. i.e You don't have to wait a day before continuing.

# 0.1.8 [22/07/2010]
- Fixed various issues with resetting log.
- Fixed Graph layout.
- Fixed issue where entering a test value and then resetting the log to a forward date would cause the wrong push-up program to be loaded.
- After performing a test and entering a value, the program will now not allow you to continue with "Todays Program" until 24 hours has passed.
- After completing push-up program for today, you must wait a day before continuing to the next program. This is so you get enough rest.
- After performing a test and entering a value, the new weeks program is added to the calender. Resetting the log will also update calender (not fully tested).
- Added basic Log View which can be accessed via "Logs and Graphs" button.
- Pushing "Rep Completed" button will cause "Perform X Pushups" text to change to "Rest Period".


# 0.1.7 [18/07/2010]
- Reset now only enabled in Main screen
- Fixed issue where entering Test value and then resetting log forward a day, causes you to enter test value again.
- Fixed issue where partially completing today's program and then returning back cause's the display of completed reps to be incorrect.

# 0.1.6 [17/07/2010]
- Complete re-write of log recording. (You old log file will be ignored if present)
- Added "Reset Log" to menu button.
- Added feature to reset log progress back and forward to any given week and week day. To reset log just select "Week 1 and Day 1".
- On first run, if you enter more than 20 on the test screen the program will move you to week 3
- Short cuts now in "Programs Folder" and "Start Menu"
- Program now remembers what set you was doing if you leave "Today's program" and then return back to it. NOTE: this only works while the program is running. You must restart sets again if you close the application.

# 0.1.5.40968 [13/07/2010]
- Removed top and bottom grey tabs to improve layout for low res screens.
- Added Menu button
- Moved Debug --> Rest Timer to Menu button
- Added Maximize to Debug in Menu button. Pressing this will maximize the application which hides the top bar in windows mobile. Press this button again to go back to normal view.
- Added Exit button to Menu button
- Added count down timer sound for stop watch/rest timer. Should kick in at about 6 seconds remaining
- Moved return button to bottom right

# 0.1.4.37187 [12/07/2010]
- Fixed various issues with logging.
- Fixed issue where entering test value and then exiting "Todays Program" will cause you to enter test value again.
- Fixed error occurring when repeatedly pressed "Reps Completed".
- Fixed error occurring when pressing "Return" button while rest timer is activated.
- Developed at 240 x 260 resolution so hopefully any display greater will work ok.

- Added debug Menu with item "Rest Timer". NOTE: Checking this item at the main screen will set the rest timer to always be 2 seconds. This is for people beta testing that want to speed up the rest periods.

# 0.1.3.11738 - [12/07/2010]
- Fixed error occurring when pressing return button on test screen.

# 0.1.2.41712 - [11/07/2010]
- Slight performance increase - switching screens is a little smoother
- A little GUI tweak to get a ruff idea of GUI layout
- After Completing a days program, if you try to do another a message is shown suggesting a days rest.
- Good Form button disabled - not implemented yet.

# 0.1.1.24890 - [10/07/2010]
- Fixed "ArgumentOutOfRangeException" which occurred after entering test result

# 0.1.0.23190 - [08/07/2010]
- First Release

Known Issues
Pressing the Return button on "Todays Program" will cause an error. Don't press it!
Pressing the completed button repeatedly on "Todays Program" may cause an error
This is being developed using a HTC HD2 so smaller screens may see error's with layout. Will try to fix this.
 
donbing
Old
#3  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Jun 2009
Default interested

Hi, is the source available for this? i'd be interested in contributing if it is.
 
Gaz25
Old
#4  
Senior Member - OP
Thanks Meter 1
Posts: 160
Join Date: Jul 2008
Location: Bedford
thanks for the interest donbing
Sadly I would have to say the source is not available. It's a nice small project for myself and I would like to see it through like this. Once completed, I may think about releasing the source.

If you have any idea's you wish to cntribute then I'm all ears!

Also, if you fancy doing a similar project like this, there is also a similar app called "200 Situps". Basically works the same but you do situps and not push ups. I could easily modify my program to do this but if you fancy doing it then go for it. I would gladly use it :)
 
housert
Old
#5  
housert's Avatar
Senior Member
Thanks Meter 6
Posts: 158
Join Date: Aug 2008
Ok, I installed the tool.

It starts, but thats about it. On my first run, i got an unexpected error.
ArgumentOutOfRangeException.

On the second run, i got ObjectDisposedException. This happened after pressing "completed" in the "todays program" page.

Hope this helps.
GNote | ★ Asylum CM10.1 ★ | GNote
 
Gaz25
Old
#6  
Senior Member - OP
Thanks Meter 1
Posts: 160
Join Date: Jul 2008
Location: Bedford
Excellant!!! bugs is what I'm after lol

Ok when you first run it you should get a screen with 3 buttons like so

Todays Program

Logs and Gaphs

Good Form

When you click Todays program it should come up with the test screen and asking you to perform some push ups and enter a value. Enter the value, press OK and it should take you to a screen for your first program.
 
Gaz25
Old
(Last edited by Gaz25; 9th July 2010 at 03:36 PM.)
#7  
Senior Member - OP
Thanks Meter 1
Posts: 160
Join Date: Jul 2008
Location: Bedford
For the first run problem, I just installed a new ROM on my phone and installed the program and now I am having the same problem. Will have a look tonight and hopefully post a fix, if not then tomorrow latest.

As for the problem when pushing the 'Completed' Button, does that occour when you first push the button or the last time you push it? Seem to work fine on my phone.
 
igi0n
Old
#8  
igi0n's Avatar
Member
Thanks Meter 2
Posts: 48
Join Date: Apr 2010
Quote:
Originally Posted by Gaz25 View Post
For the first run problem, I just installed a new ROM on my phone and installed the program and now I am having the same problem. Will have a look tonight and hopefully post a fix, if not then tomorrow latest.

As for the problem when pushing the 'Completed' Button, does that occour when you first push the button or the last time you push it? Seem to work fine on my phone.
Got some bugs for you;

first thing is: The goodform button doesn't work, i don't know for what it is used but it doesn't do anything. second of all; the graphs tab just shows some random pushups :P third: It doesnt say how much push ups you need to do. it says week 1 - day 1 and a complete button + timer. Not how much pushups you need to do. And when i press the complete button a couple of times it crashes.
 
Gaz25
Old
#9  
Senior Member - OP
Thanks Meter 1
Posts: 160
Join Date: Jul 2008
Location: Bedford
Quote:
Got some bugs for you;

first thing is: The goodform button doesn't work, i don't know for what it is used but it doesn't do anything. second of all; the graphs tab just shows some random pushups :P third: It doesnt say how much push ups you need to do. it says week 1 - day 1 and a complete button + timer. Not how much pushups you need to do. And when i press the complete button a couple of times it crashes.
Right lets take this 1 by 1.

Yes the Good forms button doesn't do anything at the moment, Sorry I should have mentioned. Basically it will just show you how to perform a correct push-up

The Graphs screen will show random stuff if nothing is stored in log i.e first run of the program. This was for beta testing purposes.

When you push the "Todays Program" button, on the first run it should come up with a screen asking for you to do so many push ups and then enter the value. When you enter a value and press ok it should then take you to the "Todays Program" screen where you see the following.

Today (Week 1 - Day 1)
Rest Timer 00

1 - Pushups to perform #
2 - Pushups to perform #
3 - Pushups to perform #
..... etc etc

Press the 'Completed' button after
each rep to start timer
Completed


When you push the 'Todays Program', does it take you to a test screen or does it go straight to the screen I mention in blue above?
 
igi0n
Old
(Last edited by igi0n; 11th July 2010 at 02:59 PM.)
#10  
igi0n's Avatar
Member
Thanks Meter 2
Posts: 48
Join Date: Apr 2010
Quote:
Originally Posted by Gaz25 View Post
Right lets take this 1 by 1.

Yes the Good forms button doesn't do anything at the moment, Sorry I should have mentioned. Basically it will just show you how to perform a correct push-up

The Graphs screen will show random stuff if nothing is stored in log i.e first run of the program. This was for beta testing purposes.

When you push the "Todays Program" button, on the first run it should come up with a screen asking for you to do so many push ups and then enter the value. When you enter a value and press ok it should then take you to the "Todays Program" screen where you see the following.

Today (Week 1 - Day 1)
Rest Timer 00

1 - Pushups to perform #
2 - Pushups to perform #
3 - Pushups to perform #
..... etc etc

Press the 'Completed' button after
each rep to start timer
Completed


When you push the 'Todays Program', does it take you to a test screen or does it go straight to the screen I mention in blue above?

Thanks for the info!

About the last thing: Yes, it asked me to push up as many times, so i did 5 as a test number. But i don't see pushups to perform. Just

Today (Week 1 - Day 1)
Rest Timer 00

Press the 'Completed' button after
each rep to start timer
Completed



EDIT:
When i press the "Return" button, the app crashes.
I also made a little video for you, to help you! http://www.youtube.com/watch?v=F4HgEX_Lu4Q

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Choose from Over a Thousand Battery Styles with 3Minit Battery Mod

The battery style in stock Android looks pretty dull. It doesn’t … more

Organize Your Cloud Storage Files with Unclouded

Cloud storage services like Dropbox or Google Drive have grown in popularity dramatically … more

XDA Xposed Tuesday: Blur Your System Notification Panel – XDA Developer TV

Listen, we love innovative applications and modules that … more

Android 4.4.3 Begins Rolling Out to European HTC One M8

Shortly after the USA Unlocked and Developer Editions of the HTC One M8 received the … more