BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-10-2006, 12:25 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2006
Location: Texas
Model: 8700G
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Weight Watcher Point calculator needed

Please Login to Remove!

Weight Watchers and some other programs calculate points using a well known algorithm that combines Calories, Fat, Fiber to obtain a point value. My wife wants a new blackberry but can't live without this app... Anyone... Anyone...?

Offline  
Old 06-10-2006, 12:29 PM   #2 (permalink)
No longer Registered.
 
digital/blasphemy's Avatar
 
Join Date: Jan 2006
Location: 'Bama
Model: 8700g
Posts: 200
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

saw this thread in the developer forum. go down towards the end of page 2

Any Blackberry Application Ideas?
Offline  
Old 06-10-2006, 11:34 PM   #3 (permalink)
Talking BlackBerry Encyclopedia
 
alslsb's Avatar
 
Join Date: Aug 2005
Model: Z30
OS: 3.0.908
PIN: erest
Carrier: Verizon
Posts: 470
Post Thanks: 1
Thanked 6 Times in 5 Posts
Talking

Awesome. Thanks!
Offline  
Old 06-11-2006, 12:13 AM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2006
Location: Texas
Model: 8700G
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by digital/blasphemy
saw this thread in the developer forum. go down towards the end of page 2

Any Blackberry Application Ideas?
That's what I'm sayin.....! Outstanding tool, thanks.
Offline  
Old 06-13-2006, 10:19 AM   #5 (permalink)
Talking BlackBerry Encyclopedia
 
alslsb's Avatar
 
Join Date: Aug 2005
Model: Z30
OS: 3.0.908
PIN: erest
Carrier: Verizon
Posts: 470
Post Thanks: 1
Thanked 6 Times in 5 Posts
Unhappy

Loads and looks great however it does not take in account fat or fiber; the algorithm is flawed :(

If you are the developer please check!!!!!!!!!
Offline  
Old 06-14-2006, 03:28 AM   #6 (permalink)
New Member
 
Join Date: Jun 2006
Model: 8700g
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up Simple answer to Weight Watcher calculator (I think it's simple)

The mysterious Weights Watchers calculator is 50 calories = 12 grams of fat = 1 point. Each gram of fiber reduces the point total .2 points or 10 points.

For the mathematically adept, calorie = 0.02 pt, fat gram = 0.083 pt, and fiber (g) = -0.2.

If not mathematically adept, my apologies. If you're eating even halfway heathly, it's almost all based upon calories (if you're eating something with 12 fat grams, you're not likely watching weight too closely). Add up calories, subtract 10 calories for each fiber and add (roughly) 4 calories for each fat gram, and then divide by 50 (add a "0" on the end and divide by 2) to yield your points.
Offline  
Old 06-15-2006, 04:35 AM   #7 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

pretty sure i implemented it fine, but it's not the same as the poster above, if anyone has a link to an algorithm i'll double check. the formula i used can be found here: http://encyclopedia.thefreedictionar...atchers+points
Offline  
Old 06-15-2006, 04:40 AM   #8 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

if this is incorrect, anyone can tell me what it should be and i'll rectify:

caloriesInt = Integer.parseInt(caloriesField.getText());
fatDouble = Double.parseDouble(fibreField.getText());
fibreDouble = Double.parseDouble(fibreField.getText());

if(fibreDouble >4){
fibreDouble = 4;
}

pointsDouble = (caloriesInt/50) + (fatDouble/12) - (fibreDouble/5);

is there a list somewhere of amounts and their corresponding points value i can test against somewhere?

edit: i've tested the above code with the data here: http://www.healthyweightforum.org/en...tchers_points/ and it works fine for everything but the quarter pounder with cheese, anyone spot the error? what the formula doesn't take into account is rounding, by comparing and contrasting it seems that to reach the final points you massivly round up...

edit2: read the above code snippet.... major error!!!!!!!! the fibre field is getting read twice.... i'll do a new build today, that's what you get when you copy 'n' paste code....

Last edited by jfisher : 06-16-2006 at 12:22 PM.
Offline  
Old 06-15-2006, 10:46 AM   #9 (permalink)
Thumbs Must Hurt
 
sparky12's Avatar
 
Join Date: May 2005
Location: Atlanta
Model: 9930
PIN: 3300AFF0
Carrier: Verizon
Posts: 116
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Looking forward to seeing this final build!
Offline  
Old 06-16-2006, 11:48 AM   #10 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

here you go, new build:

http://sundaracommunications.net/dow.../wwatchers.zip

let me know if you find it useful or if it still doesn't add up!

mail me at: sundara.uk AT gmail.com

cheers,
jon

Last edited by jfisher : 06-16-2006 at 11:51 AM.
Offline  
Old 06-16-2006, 12:14 PM   #11 (permalink)
Thumbs Must Hurt
 
Join Date: Aug 2005
Location: New York, NY
Model: 8900
Carrier: T-Mobile
Posts: 100
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Talk about customer support! WOW!
__________________
BlackBerry 8900 (T-Mobile USA)
BlackBerry 8320 (T-Mobile USA)
BlackBerry 8100 unlocked
BlackBerry 7100t unlocked
Offline  
Old 06-18-2006, 12:35 PM   #12 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2006
Location: Texas
Model: 8700G
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by peteyspambucket
Talk about customer support! WOW!
no kidding! great app!
Offline  
Old 06-18-2006, 02:32 PM   #13 (permalink)
Talking BlackBerry Encyclopedia
 
alslsb's Avatar
 
Join Date: Aug 2005
Model: Z30
OS: 3.0.908
PIN: erest
Carrier: Verizon
Posts: 470
Post Thanks: 1
Thanked 6 Times in 5 Posts
Default

Thanks Jon!!!
Offline  
Old 06-29-2006, 03:12 PM   #14 (permalink)
New Member
 
Join Date: Jun 2006
Model: 8700
Carrier: Cingular
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm pretty new to using a BlackBerry and can't get the link to work from my Blackberry to load this app. How do I load this?
Offline  
Old 06-29-2006, 06:16 PM   #15 (permalink)
Thumbs Must Hurt
 
DanMan's Avatar
 
Join Date: Aug 2005
Location: Ottawa, ON Canada
Model: 8703e
PIN: 3015cb8b
Carrier: Telus Mobility
Posts: 134
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jian
I'm pretty new to using a BlackBerry and can't get the link to work from my Blackberry to load this app. How do I load this?
you have to download it to your desktop then...brace yourself...use the desktop manager's application loader to put it on your BB.
__________________
PIN:3015cb8b
Born of love...Betrayed by Fate!
Spawn
Telus Mobility
BB 8703e
Offline  
Old 06-30-2006, 10:59 PM   #16 (permalink)
New Member
 
Join Date: Apr 2006
Model: 8700
Posts: 13
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

what about a program that tells you how much points yo have eaten in a day, based on a predefined list of foods. Similar to what ascendo fitness does but based on the weight watchers points system and will export to a spreadsheet so you can track your points. This would be very helpful for me!
Offline  
Old 07-05-2006, 01:01 PM   #17 (permalink)
New Member
 
Join Date: Jul 2006
Model: 7280
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

I've downloaded and have started using the points calculator - Thank you

Does anyone know of any program that will keep track of your daily points, calculate excercise points and has the point values for food as well ?

WW has on the go but do not support BB's so I'm trying to find a alternative.
Offline  
Old 07-05-2006, 07:07 PM   #18 (permalink)
New Member
 
Join Date: Apr 2006
Model: 8700
Posts: 13
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I would like the same type of app which will make keeping track of points much easier.

Any developers out there that would be able to do this, it would be greatly appreciated by many individuals I am sure.
Offline  
Old 07-05-2006, 08:16 PM   #19 (permalink)
BlackBerry Extraordinaire
 
lgreenberg's Avatar
 
Join Date: Dec 2005
Location: New House
Model: 8310
PIN: 2453F457 OR 242B5C50
Carrier: Cingular
Posts: 2,527
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Aww, I'm feeling left out.

Where is the LA Weightloss tracker.
Offline  
Old 07-05-2006, 08:24 PM   #20 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2005
Model: 8220
OS: 4.6.0.180
Carrier: T-Mobile
Posts: 330
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here, I know. Self restraint.

*ducks and runs*
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.