webOS Nation Forums
> webOS apps and software
> webOS development
>
Anyone try the new Tip Calc App?
1 2 3 4
5
I am not sure if it was the calculator, but my pre started shutting down on its on. That started happening as soon as i installed it. I would pull my phone out and i would have to power it on

. I
Member:
FelRend
at: 12:48 AM 06/24/2009
So after a couple of hours of tinkering with this app, i finally managed to add a decimal button... yay(maybe i am late?). That being said it was a major under achievement and possibly a terrible way of implementing it due to the fact i have no previous knowledge of
JS, and I can now say
Js is my least favorite language as of yet.
This was done on a non rooted pre (this was adding to the time in addition to just using text editor that came with ubuntu )- with somewhere near 50 installations and deletions, not quite sure what gets left of the program since i have no way to check aside from rooting the phone, which I would like to avoid.
The author of this program aside from being against change, is actually pretty cool considering
Originally Posted by :
/* Tip Calculator - a restaurant tip calculator for Palm WebOS.
* Copyright (c) 2009 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that
* copyright notice and this permission notice appear in supporting
* documentation. No representations are made about the suitability of this
* software for any purpose. It is provided "as is" without express or
* implied warranty.
*
* [ u r l = h t t p : / / w w w . j w z . o r g / t i p c a l c u l a t o r / ] T i p C a l c u l a t o r [ / u r l ]
So now I am not sure where to go from here, I guess I could post all the changes that I made to the source on wiki or something. Maybe the author will decide to add a decimal :P
Member:
NOLApre
at: 12:51 AM 06/24/2009
let us know what you end up doing. it'd be perfect with a decimal
Member:
Eguy
at: 01:40 AM 06/24/2009
Originally Posted by NOLApre:
let us know what you end up doing. it'd be perfect with a decimal 
Yes, I agree and maybe removing the line at the bottom (Sorry Mr. Dev, it just is a little tacky)

.
Member:
sam1am
at: 03:03 AM 06/24/2009
A reminder not to be cheap is not a bad thing on a tip calculator.
I'm just disappointed it doesn't go to 30%, which is usually what I tip.
As far as decimals and rounding go, I wouldn't mind it if one could enter the bill as a decimal amount and then round up the final amount.
Member:
ldrolez
at: 08:37 AM 06/24/2009
Member:
jack87
at: 12:03 PM 06/24/2009
with him being such an expert i still cant figure out why he doesnt want to allow tax to be inputted by hand. hum. oh well
I have downloaded the tip calc and it works great!
Member:
FelRend
at: 06:32 PM 06/24/2009
Sadly I don't own a web-server, but that's where google comes in
on the page is the description of what i did hopefully its understandable
a link to the files used to create the .ipk and of course the .ipk itself
h t t p : / / felrend.googlepages.com/palmpretipcalculatormodifications (Felrend - Palm Pre Tip Calculator Modifications)
Member:
jack87
at: 06:49 PM 06/24/2009
Originally Posted by FelRend:
Sadly I don't own a web-server, but that's where google comes in
on the page is the description of what i did hopefully its understandable
a link to the files used to create the .ipk and of course the .ipk itself
h t t p : / / felrend.googlepages.com/palmpretipcalculatormodifications (Felrend - Palm Pre Tip Calculator Modifications)
you rock... and it actualy overwrote the old one.
Member:
NOLApre
at: 06:55 PM 06/24/2009
yes you get an A+ my friend
Member:
Eguy
at: 07:38 PM 06/24/2009
Originally Posted by FelRend:
Sadly I don't own a web-server, but that's where google comes in
on the page is the description of what i did hopefully its understandable
a link to the files used to create the .ipk and of course the .ipk itself
h t t p : / / felrend.googlepages.com/palmpretipcalculatormodifications (Felrend - Palm Pre Tip Calculator Modifications)
Can you compile your modifications into your own ipk and put it up there? I am feeling a bit too lazy to mod the
js files today

. Thanks!
Member:
FelRend
at: 07:50 PM 06/24/2009
Originally Posted by Eguy:
Can you compile your modifications into your own ipk and put it up there? I am feeling a bit too lazy to mod the js files today
. Thanks!
the first link is my own ipk
Member:
Eguy
at: 08:23 PM 06/24/2009
Originally Posted by FelRend:
the first link is my own ipk 
Awesome, it replaced the old one and works just fine! Thanks!
Originally Posted by FelRend:
Sadly I don't own a web-server, but that's where google comes in
on the page is the description of what i did hopefully its understandable
a link to the files used to create the .ipk and of course the .ipk itself
h t t p : / / felrend.googlepages.com/palmpretipcalculatormodifications (Felrend - Palm Pre Tip Calculator Modifications)
Again big props to whiny baby boy for getting this started....however you have now made it an application. Thanks.
Originally Posted by FelRend:
Sadly I don't own a web-server, but that's where google comes in
on the page is the description of what i did hopefully its understandable
a link to the files used to create the .ipk and of course the .ipk itself
h t t p : / / felrend.googlepages.com/palmpretipcalculatormodifications (Felrend - Palm Pre Tip Calculator Modifications)
Thanks!
I can kinda understand jwz's point about rounding up. I don't like keeping track of exact change at restaurants, and I'm guessing the wait staff doesn't either. So what I normally do is add a set percentage to the bill for the tip, and then round the resulting total up to the nearest dollar. I may play around with implementing something like that.
BTW, is the text size for the tax/percentage/people supposed to be bigger than the original application? Some of the labels are getting cut off.
Thanks! Very nice... In addition to the labels... If you hit the "." a second time the results error out... Excellent start...
Member:
sam1am
at: 04:25 PM 06/25/2009
Originally Posted by FelRend:
Sadly I don't own a web-server, but that's where google comes in
on the page is the description of what i did hopefully its understandable
a link to the files used to create the .ipk and of course the .ipk itself
h t t p : / / felrend.googlepages.com/palmpretipcalculatormodifications (Felrend - Palm Pre Tip Calculator Modifications)
Great work. Way to be.
Originally Posted by FelRend:
Sadly I don't own a web-server, but that's where google comes in
on the page is the description of what i did hopefully its understandable
a link to the files used to create the .ipk and of course the .ipk itself
h t t p : / / felrend.googlepages.com/palmpretipcalculatormodifications (Felrend - Palm Pre Tip Calculator Modifications)
How do you get to you googlepage? I am having a hard time finding it.
1 2 3 4
5
webOS Nation Forums
> webOS apps and software
> webOS development
>
Anyone try the new Tip Calc App?