5,596,128 Members 34,085 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
c0rnholio
Old
(Last edited by c0rnholio; 5th January 2010 at 07:21 PM.) Reason: changes
#1  
Senior Member - OP
Thanks Meter 31
Posts: 490
Join Date: Sep 2005
Location: in the basement...
Default [APP][Update 01/05/10] Smoke Tracker - Keep an Eye on how much you smoke v0.3.4

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)
Current devices: N7100, N5100
Development devices: P1000, Xoom, Magic
 
d0ugie
Old
#2  
d0ugie's Avatar
Senior Member
Thanks Meter 13
Posts: 534
Join Date: Jan 2007
Location: New York
Thank you c0rnholio, brilliant. May I redistribute?

Doug
see at&t get its ass kicked right here
get battery facts from batteryboss.org
 
c0rnholio
Old
#3  
Senior Member - OP
Thanks Meter 31
Posts: 490
Join Date: Sep 2005
Location: in the basement...
Quote:
Originally Posted by d0ugie View Post
Thank you c0rnholio, brilliant. May I redistribute?

Doug
Sure, feel free to redist wherever you like.
Current devices: N7100, N5100
Development devices: P1000, Xoom, Magic
 
fktoss
Old
#4  
Junior Member
Thanks Meter 0
Posts: 23
Join Date: May 2009
Default 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?
 
hanackin
Old
#5  
hanackin's Avatar
Senior Member
Thanks Meter 1
Posts: 1,132
Join Date: Apr 2008
Location: toulouse
nicely done dude !! that could be useful


HTC Touch HD T8282 - Blackstone
ROM : miammiam Eclipse 5.2.143-CFC [HSPL 1.56]

XIP & SYS : 21903.5.0.92 (AKU5092)
Radio : 1.17.25.09

HTC Sence: 2_5_20133227_0_CFC
PagePool 19mb


Actualitémobile - the Best French Skins & Softwares WebSite
 
holy1661
Old
#6  
Member
Thanks Meter 0
Posts: 32
Join Date: Jan 2007
I Like this app.

Anything that encourages people to not smoke.

Also a good name would be SmokeAlarm. Or CancerCount.
 
WAIKIKI728
Old
#7  
Senior Member
Thanks Meter 0
Posts: 153
Join Date: 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...
 
hanackin
Old
#8  
hanackin's Avatar
Senior Member
Thanks Meter 1
Posts: 1,132
Join Date: Apr 2008
Location: toulouse
and what is the error message ? have you already NET CF 3.5 installed


HTC Touch HD T8282 - Blackstone
ROM : miammiam Eclipse 5.2.143-CFC [HSPL 1.56]

XIP & SYS : 21903.5.0.92 (AKU5092)
Radio : 1.17.25.09

HTC Sence: 2_5_20133227_0_CFC
PagePool 19mb


Actualitémobile - the Best French Skins & Softwares WebSite
 
c0rnholio
Old
#9  
Senior Member - OP
Thanks Meter 31
Posts: 490
Join Date: Sep 2005
Location: in the basement...
my guess is that you are missing some .net cf components. Do you have 3.5 installed?
Current devices: N7100, N5100
Development devices: P1000, Xoom, Magic
 
borealcool
Old
#10  
borealcool's Avatar
Senior Member
Thanks Meter 0
Posts: 231
Join Date: Jul 2007
Location: Quebec
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
Gear:
  • Samsung Galaxy S3 [CM11]
  • HTC Desire HD [CM7]
  • Huawei Ascend Y210 [CM10]
Personal blog:


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Fix the Ambient Light Issues on Your Google Nexus 5 using Xposed

The Google Nexus 5 is a great and rather popular device. This LG-produced … more

Google Glass XE16 Update Factory Image and Rooted Bootloader Now Available

You may recall that early yesterday, we talked about the XE16 … more

Add Swipe Utilities to Your App with SimpleFingerGestures Library

Gestures have become an increasingly important element in smartphone UI … more