BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 06-10-2006, 11:25 AM   #1
trpenner
Knows Where the Search Button Is
 
Join Date: Jun 2006
Location: Texas
Model: 8700G
Posts: 26
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, 11:29 AM   #2
digital/blasphemy
No longer Registered.
 
digital/blasphemy's Avatar
 
Join Date: Jan 2006
Location: 'Bama
Model: 8700g
Posts: 200
Default

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

http://www.blackberryforums.com/show...t=21646&page=2
Offline  
Old 06-10-2006, 10:34 PM   #3
alslsb
Talking BlackBerry Encyclopedia
 
alslsb's Avatar
 
Join Date: Aug 2005
Model: Class
OS: 3.1.941
PIN: erest
Carrier: Verizon
Posts: 470
Talking

Awesome. Thanks!
Offline  
Old 06-10-2006, 11:13 PM   #4
trpenner
Knows Where the Search Button Is
 
Join Date: Jun 2006
Location: Texas
Model: 8700G
Posts: 26
Default

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

http://www.blackberryforums.com/show...t=21646&page=2
That's what I'm sayin.....! Outstanding tool, thanks.
Offline  
Old 06-13-2006, 09:19 AM   #5
alslsb
Talking BlackBerry Encyclopedia
 
alslsb's Avatar
 
Join Date: Aug 2005
Model: Class
OS: 3.1.941
PIN: erest
Carrier: Verizon
Posts: 470
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, 02:28 AM   #6
L5-Blackberry
New Member
 
Join Date: Jun 2006
Model: 8700g
Posts: 1
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, 03:35 AM   #7
jfisher
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
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, 03:40 AM   #8
jfisher
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
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 11:22 AM..
Offline  
Old 06-15-2006, 09:46 AM   #9
sparky12
Thumbs Must Hurt
 
sparky12's Avatar
 
Join Date: May 2005
Location: Atlanta
Model: 9930
PIN: 3300AFF0
Carrier: Verizon
Posts: 116
Default

Looking forward to seeing this final build!
Offline  
Old 06-16-2006, 10:48 AM   #10
jfisher
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
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 10:51 AM..
Offline  
Old 06-16-2006, 11:14 AM   #11
peteyspambucket
Thumbs Must Hurt
 
Join Date: Aug 2005
Location: New York, NY
Model: 8900
Carrier: T-Mobile
Posts: 100
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, 11:35 AM   #12
trpenner
Knows Where the Search Button Is
 
Join Date: Jun 2006
Location: Texas
Model: 8700G
Posts: 26
Default

Quote:
Originally Posted by peteyspambucket
Talk about customer support! WOW!
no kidding! great app!
Offline  
Old 06-18-2006, 01:32 PM   #13
alslsb
Talking BlackBerry Encyclopedia
 
alslsb's Avatar
 
Join Date: Aug 2005
Model: Class
OS: 3.1.941
PIN: erest
Carrier: Verizon
Posts: 470
Default

Thanks Jon!!!
Offline  
Old 06-29-2006, 02:12 PM   #14
jian
New Member
 
Join Date: Jun 2006
Model: 8700
Carrier: Cingular
Posts: 3
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, 05:16 PM   #15
DanMan
Thumbs Must Hurt
 
DanMan's Avatar
 
Join Date: Aug 2005
Location: Ottawa, ON Canada
Model: 8703e
PIN: 3015cb8b
Carrier: Telus Mobility
Posts: 134
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, 09:59 PM   #16
buddy1234
New Member
 
Join Date: Apr 2006
Model: 8700
Posts: 13
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, 12:01 PM   #17
akonecny
New Member
 
Join Date: Jul 2006
Model: 7280
Posts: 2
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, 06:07 PM   #18
buddy1234
New Member
 
Join Date: Apr 2006
Model: 8700
Posts: 13
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, 07:16 PM   #19
lgreenberg
BlackBerry Extraordinaire
 
lgreenberg's Avatar
 
Join Date: Dec 2005
Location: New House
Model: 8310
PIN: 2453F457 OR 242B5C50
Carrier: Cingular
Posts: 2,527
Default

Aww, I'm feeling left out.

Where is the LA Weightloss tracker.
Offline  
Old 07-05-2006, 07:24 PM   #20
stealthx32
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2005
Model: 8220
OS: 4.6.0.180
Carrier: T-Mobile
Posts: 330
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


NEW Fan/Limit Control Switch of Honeywell L4064B2210 11

NEW Fan/Limit Control Switch of Honeywell L4064B2210 11" IN BOX

$97.00



1PCS Schneider XSAV11801 Proximity Switch New in box picture

1PCS Schneider XSAV11801 Proximity Switch New in box

$222.00



New In Box Honeywell Micro Switch LSA1A Heavy Duty Limit Switch picture

New In Box Honeywell Micro Switch LSA1A Heavy Duty Limit Switch

$99.59



1PCS Schneider-Telemacanique limit switch XSAV12801 new original picture

1PCS Schneider-Telemacanique limit switch XSAV12801 new original

$200.00



The Original EZ GENERATOR TRANSFER SWITCH - UL / CSA Approved - USA Made - 12OV picture

The Original EZ GENERATOR TRANSFER SWITCH - UL / CSA Approved - USA Made - 12OV

$98.99



Toggle SWITCH ON/OFF/ON Heavy Duty 20A 125V SPDT 3 Terminal Car Waterproof BOOT picture

Toggle SWITCH ON/OFF/ON Heavy Duty 20A 125V SPDT 3 Terminal Car Waterproof BOOT

$13.99







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