webOS Nation Forums >  Homebrew >  webOS Homebrew Apps > Currency Converter
Currency Converter
  Reply
 
Thread Tools Display Modes
Old 07/15/2009, 03:33 PM   #1 (permalink)
Member
 
Posts: 122
Hi,
here's another little free app to convert currencies.
It includes the following currencies (v0.5.0):
U.S. Dollar
Euro
U.K. Pound
Japan Yen
Switzerland Franc
Canada Dollar
Australia Dollar
Argentine Peso
Bulgarian Lev
Chinese Yuan
Colombian Peso
Costa Rican colón
Czech Koruna
Danish Krone
Estonian Kroon
Hong Kong Dollar
Hungarian Forint
Icelandic Króna
India Rupees
Indonesian Rupiah
Israeli New Sheqel
Latvian Lats
Lithuanian Litas
Malaysian Ringgit
Mexican Peso
N.Z. Dollar
Nigerian Naira
Philippine Peso
Polish Zloty
Russian Rouble
South Africa Rand
Swedish Krona
Turkish Lira
U.A.E. Dirham
Ukrainian Hryvnia
South Korean Won
Uruguayan Peso
Paraguayan guaraní
Peruvian nuevo sol
Romanian leu
Saudi riyal
New Taiwan Dollar

App Gallery link: http://www.precentral.net/homebrew-a...ency-converter
Download and Screenshot see below or at: Currency Converter for Palm Pre

Attached Images
File Type: png currency.png (83.1 KB, 2024 views) Email Attachment
__________________
My Apps - Donations :-)

Last edited by roar; 08/11/2009 at 10:04 AM.
roar is offline   Reply With Quote
Old 07/15/2009, 03:37 PM   #2 (permalink)
Member
 
warblad13's Avatar
 
Posts: 1,086
nice keep them coming
thanks for all the apps
hope for more
warblad13 is offline   Reply With Quote
Old 07/15/2009, 03:44 PM   #3 (permalink)
Member
 
Posts: 30
I dig it... Very simply and quick. I see that it has an options to set to update the rates as often as you want... So, where is it getting the rate info from?

EDIT: Went to your website and saw that it updates from Yahoo Finance.

I fly to Mexico and Canada almost every other week... so I can't wait for the peso conversion!

Thanks for a great, simple, and usable app.

Bob
bmoyer1 is offline   Reply With Quote
Old 07/15/2009, 03:46 PM   #4 (permalink)
Member
 
Posts: 122
It gets the rates from Yahoo, as stated in the little text at the bottom
__________________
My Apps - Donations :-)
roar is offline   Reply With Quote
Old 07/15/2009, 03:49 PM   #5 (permalink)
Member
 
Posts: 30
OK... playing with it a bit more now. Here's a suggestion:

I turned Airplane Mode on and find that it doesn't do the conversions. Most likely because the app references a webpage. Well, I was wondering if there's a way to upload the current rate for the currency you'll be using and store it into a temporary cache so that you can use it offline.

The reason for this... is because I typically don't have network access when out of the country, unless I find an open Wi-Fi connection.

I realize that at that point I won't have the most current up to the minute rate conversion info... but it will certainly help with a great ballpark figure while I'm visiting the country for a day or two.

Thanks!

Bob
bmoyer1 is offline   Reply With Quote
Old 07/15/2009, 04:06 PM   #6 (permalink)
Member
 
Posts: 122
You're right, currently I download the rate on demand and then cache it (and reload it after the user-set time is expired). I do this to save bandwith (which might be important on cell networks). I could load all the rates in advance, but this would consume more bandwith, so I decided to load on demand. I'll see if I find a solution.
__________________
My Apps - Donations :-)
roar is offline   Reply With Quote
Old 07/15/2009, 04:25 PM   #7 (permalink)
Member
 
Posts: 30
Found a temporary workaround... If I get the current rate then go offline, I can still do the conversion as long as I don't close the app.
bmoyer1 is offline   Reply With Quote
Old 07/15/2009, 07:29 PM   #8 (permalink)
Member
 
Posts: 371
Excellent job! First homebrew app I've seen that even incorporates options in the menu and everything. Great concept.

+1!
dcoaster is offline   Reply With Quote
Old 07/15/2009, 09:08 PM   #9 (permalink)
Member
 
Posts: 10
Great app, works great and like dcoaster said, nice incorporation of the menu and everything!
mitchds is offline   Reply With Quote
Old 07/15/2009, 10:32 PM   #10 (permalink)
Member
 
TreoRock's Avatar
 
Posts: 3,092
Good job, but only limited to very few currencies. Could you add more or let the user pick them?
__________________
TreoRock is offline   Reply With Quote
Old 07/16/2009, 12:21 AM   #11 (permalink)
Member
 
WillJitsu's Avatar
 
Posts: 304
Is it possible to set the input field to default to numeric values?
WillJitsu is offline   Reply With Quote
Old 07/17/2009, 01:57 AM   #12 (permalink)
Member
 
Posts: 17
Simple to use, thanks!
coojoe1000 is offline   Reply With Quote
Old 07/17/2009, 10:00 AM   #13 (permalink)
Member
 
Paladin's Avatar
 
Posts: 610
Quote:
Originally Posted by WillJitsu View Post
Is it possible to set the input field to default to numeric values?
I was just going to ask for this. I HATE applications that require a numeric field not defaulting to that when you press e,r,t, etc...

I was actually going to play with making this app for a learning experience. You beat me too it. ii

I would use another source besides yahoo. I would use http://www.x-rates.com/calculator.html

Easy to scrape if you simply want to use it online and does 50+ conversions.
I have this on my launcher and use it via the web.


However I was just going to DL all the exchange rates as a text file so it can be used offline. It is only a table with numbers for each currency to store all based on the US dollar.

So you could easily just scrape and store only this table http://www.x-rates.com/d/USD/table.html
It even offers an excel export to make it even easier for you. Then you can convert even without a connection and it would be minimal bandwidth, just one small text file. This would also make it faster calculating from the table directly instead of relying on the web server.
You can let the user select update to pull down the current table or do it on a daily schedule etc..

Then if you need say Euros to Argentine Peso you just convert Euros to dollars using the second table IN USD then dollars into Argentine Peso using the first table 1 USD. Simple really.
One table can convert everything!!!

Also might you add this function as well. You type in one currency and it shows all the others at once, cool.
http://www.x-rates.com/cgicalc.html

And using this link you can pull up currency photos.
http://www.x-rates.com/photo_list.html

You can even pull up graphs from the past, cool if implemented.

What is funny is I don't travel and have no real use for this. I just think it is cool. ii
I do sometimes convert stuff when I see it on TV or movies or just in ads on the net.
__________________
Systems Analyst by trade, Drummer by desire and Music Lover by birth. A self proclaimed Geek and gadget nut. ii

Did you know: The Pittsburgh Steelers have more championships than 21 other NFL teams combined!
Pittsburgh Steelers-6 Time Super Bowl Champions!

Pittsburgh Penguins-3 Time Stanley Cup Champions!

Last edited by Paladin; 07/17/2009 at 11:00 AM.
Paladin is offline   Reply With Quote
Old 07/18/2009, 12:48 AM   #14 (permalink)
Member
 
Posts: 13
great app, I wish you could add Polish Zloty to it. I am going to Poland in 2 months

any chance for that?
mariojesman is offline   Reply With Quote
Old 07/22/2009, 06:43 AM   #15 (permalink)
Member
 
Posts: 122
Just wanted to let you know that there's an update in the pipeline (will release it when webOS 1.1 comes out) which includes the following currencies (bold = new in this update):

US Dollar
Euro
UK Punds
Japan Yen
Switzerland Francs
Canada Dollars
Australia Dollars
Mexican Peso
Chinese Yuan
Hong Kong Dollar
Philippine Peso
Russian Rouble
Danish Krone
Swedish Krona
Polish Zloty
Bulgarian Lev
Czech Koruna
Hungarian FDorint
Estonian Kroon
Latvian Lats
Lithunian Litas
Turkish Lira

India Rupees
New Zealand Dollars
South Africa Rand

thanks
__________________
My Apps - Donations :-)
roar is offline   Reply With Quote
Thanked By: bmoyer1
Old 07/22/2009, 01:56 PM   #16 (permalink)
Member
 
Posts: 30
The Peso! Perfect... exactly what I've been waiting for.

Any chance on internally caching a rate yet, so you don't have to rely on network coverage?

Bob

Last edited by bmoyer1; 07/22/2009 at 02:39 PM.
bmoyer1 is offline   Reply With Quote
Old 07/22/2009, 01:57 PM   #17 (permalink)
Member
 
Paladin's Avatar
 
Posts: 610
Quote:
Originally Posted by bmoyer1 View Post
The Peso! Perfect... exactly what I've been waiting for.

Any chance on internally caching a rate yet, so you don't have to rely on network coverage?

Bob

Sheesh I guess I typed all of that for nothing! ii
__________________
Systems Analyst by trade, Drummer by desire and Music Lover by birth. A self proclaimed Geek and gadget nut. ii

Did you know: The Pittsburgh Steelers have more championships than 21 other NFL teams combined!
Pittsburgh Steelers-6 Time Super Bowl Champions!

Pittsburgh Penguins-3 Time Stanley Cup Champions!
Paladin is offline   Reply With Quote
Old 07/22/2009, 02:27 PM   #18 (permalink)
Member
 
Posts: 20
great thanks for the update.
tpdtopcop#WN is offline   Reply With Quote
Old 07/22/2009, 02:43 PM   #19 (permalink)
Member
 
Posts: 30
Quote:
Originally Posted by 1Paladin View Post
Sheesh I guess I typed all of that for nothing! ii
Honestly... I completely missed it.

Thanks for the workaround.
bmoyer1 is offline   Reply With Quote
Old 07/22/2009, 04:56 PM   #20 (permalink)
Member
 
Posts: 122
the rates are cached for the time you specify in the preferences panel
__________________
My Apps - Donations :-)
roar is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0