Go Back   xda-developers > HTC Diamond: Touch Diamond, MDA Compact IV > Touch Diamond, MDA Compact IV Themes and Apps


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 16th August 2008, 07:35 PM
pedmond's Avatar
pedmond pedmond is offline
Senior Member
 
Join Date: Jun 2007
Location: Bucharest
Posts: 646
Default [APP][UPDATED Oct 9 2008] XChange R8 currency convertor

Hi guys,

I must admit that I didn’t write software for a few years, and this is my first attempt after a long break – so please be gentle…

Xchange R8 is a simple currency convertor. You can choose 3 currencies to be displayed and for the time being you have two WebServices available: Bank of Romania (for my Romanian friends) and Bank of England (for my other friends). Bank of England currency are accessed via the Export Technologies WebService.

You need of course an Internet connection.

For Bank of Romania you can choose to see the currencies as they were at a certain date. Before you ask, chosing a date in the future will alas not work. The Export Technologies service does not have this function though, and when working with the Bank of England this choice will be unavailable.

The program remembers the last downloaded values for each service.

Please note that the Export Technologies service (for Bank of England) is slow – an update can take up to a minute. There’s nothing I can do about that.

I wrote this program initially for myself, as I often needed to know the currency rates and this is much faster than navigating from the browser. Then I saw somebody on this forum asking about such a program. While I’m sure better solutions can be found, I had a lot of fun writing this. Besides, it’s free!

I’m totally willing to add other WebServices to the list if you can provide me with their address.

Please note that I can only work on this during weekends: I have a company to run and it takes almost all my time.

Another note: .NET 3.5 framework is required.

UPDATE: v 1.1:
  • Added Bank of Hungary web service
  • Corrected a bug in the calendar: when first opened it always went to a day in July. Now it defaults to today.
Notes: Bank of Hungary does not update the service daily. Therefore, after you press Download, you may see a different date than today appearing at the top: this is the date of the last update. Furthermore, because of this, when you use the calendar to choose a date, you may get the message "No data available for the chosen date!". Simply choose another date. Hint: they don't update during weekends.

UPDATE 21/08/08 v 1.2
  • Added Invert function for those who prefer to see the exchange course mirrored. For example, if before you saw 1 GBP = 2 USD, after Invert you'll see 1 USD = 0.5 GBP.
  • Added calculator. For pic see next post.
UPDATE Oct 9 2008 v 2.0
  • You can now convert from EUR to USD and actually whatever you want from a list of 150 currencies. Choose Webservicex from Options -> Currencies.
  • Please note that this service is updating all the time, so values taken at a few minutes apart can vary slightly. This may actually be a good thing if you want to feel the pulse of the market in these stressed times.
  • One problem with Webservicex (affecting only Romanians as far as I can tell): it only contains the old currency (ROL) and it always returns zero. I don't see this as real trouble, as you can always use the Bank of Romania service.
Attached Images
File Type: jpg Main screen.jpg (55.4 KB, 4185 views)
File Type: jpg Currencies.jpg (43.5 KB, 2271 views)
File Type: jpg Choose date.jpg (65.4 KB, 1610 views)
Attached Files
File Type: cab Xchange R8.CAB (86.9 KB, 1584 views)
__________________

HTC Leo

Last edited by pedmond; 9th October 2008 at 06:03 PM..
Reply With Quote
Sponsored Links

  #2  
Old 16th August 2008, 07:35 PM
pedmond's Avatar
pedmond pedmond is offline
Senior Member
 
Join Date: Jun 2007
Location: Bucharest
Posts: 646
Default

Pic for the calculator:
Attached Images
File Type: jpg Calculator.jpg (73.2 KB, 709 views)
__________________

HTC Leo

Last edited by pedmond; 21st August 2008 at 12:10 AM..
Reply With Quote

  #3  
Old 16th August 2008, 10:28 PM
tampiss's Avatar
tampiss tampiss is offline
Member
 
Join Date: Aug 2007
Location: Prague
Posts: 39
Default

looking gr8
would you add the CZK (www.cnb.cz) for Czech friends too? :-)

http://www.cnb.cz/cs/financni_trhy/d...denni_kurz.jsp

tampiss
__________________
www.tampiss.com

current: HTC Topaz (Diamond 2)
previous: HTC Touch Diamond, HTC Touch Cruise, Asus P535, QTek 8310

- - - d o n a t e - - -
Reply With Quote

  #4  
Old 16th August 2008, 10:29 PM
tnyynt's Avatar
tnyynt tnyynt is offline
Moderator
 
Join Date: Jun 2007
Posts: 2,236
Thumbs up

Nice business app! Good work!
__________________


__________________________________________________


__________________________________________________

pocketnow.com – news and reviews for Windows Mobile
PDAdb.net - the most comprehensive database on the net
4smartphone.net - Wireless mobility at your fingertips
Reply With Quote

  #5  
Old 16th August 2008, 10:29 PM
buciuman's Avatar
buciuman buciuman is offline
Member
 
Join Date: Aug 2008
Posts: 66
Default

Your romanian friends thank you!!
Reply With Quote

  #6  
Old 16th August 2008, 10:51 PM
pedmond's Avatar
pedmond pedmond is offline
Senior Member
 
Join Date: Jun 2007
Location: Bucharest
Posts: 646
Default

Quote:
Originally Posted by tampiss View Post
looking gr8
would you add the CZK (www.cnb.cz) for Czech friends too? :-)

http://www.cnb.cz/cs/financni_trhy/d...denni_kurz.jsp

tampiss
I definitely would. However, I need what is called a WebService, like http://www.exporttechnologies.com/we...vice.asmx?WSDL.

That is usually an XML file defining the access to the service. A site simply giving a list of currencies is not a web service.

I looked at the Czech National Bank site (the english version) and could not find any link to a service. Perhaps you can help me there?
__________________

HTC Leo
Reply With Quote

  #7  
Old 16th August 2008, 11:01 PM
tnyynt's Avatar
tnyynt tnyynt is offline
Moderator
 
Join Date: Jun 2007
Posts: 2,236
Default

Quote:
Originally Posted by pedmond View Post
I definitely would. However, I need what is called a WebService, like http://www.exporttechnologies.com/we...vice.asmx?WSDL.

That is usually an XML file defining the access to the service. A site simply giving a list of currencies is not a web service.

I looked at the Czech National Bank site (the english version) and could not find any link to a service. Perhaps you can help me there?
Magyar Nemzeti Bank aka National Bank of Hungary: http://www.mnb.hu/engine.aspx?page=mnbhu_webservice
__________________


__________________________________________________


__________________________________________________

pocketnow.com – news and reviews for Windows Mobile
PDAdb.net - the most comprehensive database on the net
4smartphone.net - Wireless mobility at your fingertips
Reply With Quote

  #8  
Old 16th August 2008, 11:13 PM
pedmond's Avatar
pedmond pedmond is offline
Senior Member
 
Join Date: Jun 2007
Location: Bucharest
Posts: 646
Default

Quote:
Originally Posted by tnyynt View Post
Magyar Nemzeti Bank aka National Bank of Hungary: http://www.mnb.hu/engine.aspx?page=mnbhu_webservice
Got it. The description is at http://www.mnb.hu/arfolyamok.asmx?WSDL

I'll implement it as soon as I can. With a little bit of luck I'll have it tomorrow.

UPDATE: Done! Please look at the first post of this thread to download.
__________________

HTC Leo

Last edited by pedmond; 17th August 2008 at 03:50 AM..
Reply With Quote

  #9  
Old 20th August 2008, 12:00 AM
slogg slogg is offline
Junior Member
 
Join Date: Feb 2008
Posts: 4
Default

Very nice app

Is it also possible to add a swiss and japanese bank?

Thanks from switzerland :-)
Reply With Quote

  #10  
Old 20th August 2008, 08:01 AM
Kafro's Avatar
Kafro Kafro is offline
Member
 
Join Date: Aug 2008
Posts: 98
Default

Xe.com is the best currency exchange site.
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


All times are GMT +1. The time now is 05:02 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.