T-Mobile HTC One M8 Gets Selfie-Friendly Android 4.4.4 OTA

The T-Mobie variant of HTC One (M8) just now received an over-the-air update … more

Android L is for Lockdown

Root is, without a doubt, the (un)holy grail of the Android world. Those wonderful permissions that allow you as … more

XDA Xposed Tuesday: XHangouts Will Improve Your Hangouts

Ever since Google started supporting text messaging in Hangouts many people have … more

Shattered Screen? Turn Your Broken Device into a Complete Media Center!

A cracked screen usually means you’ll have to spend a hefty … more
Post Reply

[APP][Update 01/05/10] Smoke Tracker - Keep an Eye on how much you smoke v0.3.4

OP c0rnholio

6th August 2009, 08:16 PM   |  #1  
OP Senior Member
Flag in the basement...
Thanks Meter: 36
 
502 posts
Join Date:Joined: Sep 2005
Greetings,

I made a small program that helps me to keep an eye on how much cigarettes I smoke. It is made for people (like me) who want's to reduce their tabaco consumption or stop smoking by reducing consumption over a period of time.
It's simple to use, so you wont be bugged by heavy usability. Just run it and click "Got one..." whenever you smoke a cigarette. The overall daily rate is stored in a xml file for each day. By using the calendar navigator you can track how much you smoked on which day.
By setting up thresholds you can define audible alerts (2 .wav are included) and the colour of the counter gets red when the threshold exceeds.
Threshold 1 plays "cough.wav", and Threshold 2 plays "smoke-that.wav".

To Enable the "Smoke Advisor" (available since version 0.3) got to the settings page and enable it and set the average hours you smoke per day, so for example if you stand up at 08:00 in the morning and go to bed at 22:00 in the evening set the SA-Hours to 14. The "Smoke Advisor" works by calculating the time between each cigarette in corosponding to your daily target setting and the smoking hours. Now, if the timespan between you smoked the last cig and the moment you press "got one" is shorter than the calculated value you will get a warning which you can follow or ignore.

To get the monay tracker to work, just go to menu->settings and write down the price per cig. If the .(dot) does not work when you try to enter a price, try a , (comma) instead and does so vice versa.

Planned features for future version:

- Add option to give reason why you smoked per cig (example: Bored, Angry, Stress, Daily routine, party, etc...)
- Add option to support you smoking less by defining a timeframe for reduction


If you have any comments or suggestions for more features, feel free to post here.

If this program helps you reducing your cigarette consumption, feel free to donate some of the money you saved that way ;)

Enjoy it, as usual, it's freeware!

Download from Homepage at: http://www.silentservices.de/smoketracker.html or the attached file.

Requirements:
WinMo >= 5.0
.NetCF 3.5



Changelog:

Changes in v0.3.4 - Release Date: 05.01.2010

NOTE: Please make sure you backup your settings.xml and the other xml files before updating!!!

EDIT 01/05/10 20:14 : Re-uploaded version 0.3.4 due to small bug in the stats (progressbar overload)

- Fixed the 2k10 bug in statistics
- Added requested feature: If Smoke Advisor is enabled a timer is displayed in the main window that shows how much time is left to the next cig.
- Added timer in main windows that shows how much time passed since the smoke.
- Changed the statistics to a list view. It now shows all month and last and current week


Version 0.3.2 on 14.08.2009:
- Fixed some bugs
- CAB should now be installable on storage card


Version 0.3 on 13.08.2009:

- Fixed double entries in time list (at least I hope so)
- Fixed auto height for time list
- Fixed "Mignight-Bug"
- Changed order of time entries to: last cig = first entry
- Added "remove one" in menu
- Added minimize softkey (to exit press x or click menu->exit)
- Added Statistics page (takes some time to load as it has to grab through all the xml files)
- Added Money Tracker in startpage and statistics, shows how much money went to dust
- Added "Smoke Advisor" function



Version 0.2 on 10.08.2009:
- Fixed the System.IO Exception (At leat I hope so)
- Added possibility to choose sound (has to be stored in \Windows od \My Documents\My Ringtones\ path. This is bound to these directories, not by me, but by M$)




Screenhots:
Attached Files
File Type: cab Smoke-Tracker-v0.3.4.CAB - [Click for QR Code] (126.3 KB, 653 views)
Last edited by c0rnholio; 5th January 2010 at 07:21 PM. Reason: changes
6th August 2009, 08:44 PM   |  #2  
d0ugie's Avatar
Senior Member
Flag New York
Thanks Meter: 24
 
541 posts
Join Date:Joined: Jan 2007
More
Thank you c0rnholio, brilliant. May I redistribute?

Doug
6th August 2009, 08:49 PM   |  #3  
OP Senior Member
Flag in the basement...
Thanks Meter: 36
 
502 posts
Join Date:Joined: Sep 2005
Quote:
Originally Posted by d0ugie

Thank you c0rnholio, brilliant. May I redistribute?

Doug

Sure, feel free to redist wherever you like.
9th August 2009, 01:45 AM   |  #4  
Junior Member
Thanks Meter: 0
 
23 posts
Join Date:Joined: May 2009
Error on startup...
Cools app...I installed on my Sprint Treo Pro (WM6.1) and LG Incite running stock LG ROM WM6.1 V10x. When starting the app, I got an error popup saying: 'An error message is availabe for the...', I have to click 'Ok' then the app shows up. Then I click the 'Got one' button, another error popped up with: 'System.IO.DirectoryNotFoundExcept...', have to click 'Ok' again to get rid of it. Then I'm back at the app with no update...

The samething happended on both phones so I doubt it's my phones...So what's missing directory?
9th August 2009, 02:13 AM   |  #5  
hanackin's Avatar
Senior Member
Flag toulouse
Thanks Meter: 2
 
1,132 posts
Join Date:Joined: Apr 2008
More
nicely done dude !! that could be useful
9th August 2009, 05:54 PM   |  #6  
Member
Thanks Meter: 0
 
32 posts
Join Date:Joined: Jan 2007
I Like this app.

Anything that encourages people to not smoke.

Also a good name would be SmokeAlarm. Or CancerCount.
9th August 2009, 06:30 PM   |  #7  
Senior Member
Thanks Meter: 0
 
153 posts
Join Date:Joined: Jan 2009
[QUOTE=c0rnholio;4280644]Greetings,

I made a small program that helps me to keep an eye on how much cigarettes I smoke. It is made for people (like me) who want's to reduce their tabaco consumption or stop smoking by reducing consumption over a period of time.
It's simple to use, so you wont be bugged by heavy usability. Just run it and click "Got one..." whenever you smoke a cigarette. The overall daily rate is stored in a xml file for each day. By using the calendar navigator you can track how much you smoked on which day.
By setting up thresholds you can define audible alerts (2 .wav are included) and the colour of the counter gets red when the threshold exceeds.
Threshold 1 plays "cough.wav", and Threshold 2 plays "smoke-that.wav".

Things planned in future versions:
- Add edit box with predefinable reasons why you smoked
- Add sound file selector

If you have any comments or suggestions for more features, feel free to post here.

If this program helps you reducing your cigarette consumption, feel free to donate some of the money you saved that way ;)

Enjoy it, as usual, it's freeware!



I have tried in samsung omnia ....doesn´t work...gives me one error...
9th August 2009, 06:35 PM   |  #8  
hanackin's Avatar
Senior Member
Flag toulouse
Thanks Meter: 2
 
1,132 posts
Join Date:Joined: Apr 2008
More
and what is the error message ? have you already NET CF 3.5 installed
9th August 2009, 06:36 PM   |  #9  
OP Senior Member
Flag in the basement...
Thanks Meter: 36
 
502 posts
Join Date:Joined: Sep 2005
my guess is that you are missing some .net cf components. Do you have 3.5 installed?
9th August 2009, 08:12 PM   |  #10  
borealcool's Avatar
Senior Member
Flag Quebec
Thanks Meter: 0
 
231 posts
Join Date:Joined: Jul 2007
I tried this on my Samsung Omnia i910 (CDMA) with .NET-CF 3.5 installed and I get System.IO.DirectoryNotFound when I press Got one...

With the bug worked out, it would also be great if this app could wane smokers down on a designated time frame. For example it could calculate how many cigs per day for 15 days, then start waning down smokers over 3 months. A bit of math and your genius programming is all that's required

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes