M mogenskilde Member Licensed User Longtime User Sep 7, 2012 #1 Hello Folks I'm working on a new apps that could be usefull in Denmark when shopping online. I have found in this wonderful community the webservice that i need. The url could look like this : http://www.webservicex.net/CurrencyConvertor.asmx/ConversionRate?FromCurrency=USD&ToCurrency=DKK This call will show a number in a webview window, but I need to make som calculations on this figure. I tried the "convert string to integer" but must be doing something very wrong. Could someone point me in the right direction or give me an example Thank you in advance Mogens
Hello Folks I'm working on a new apps that could be usefull in Denmark when shopping online. I have found in this wonderful community the webservice that i need. The url could look like this : http://www.webservicex.net/CurrencyConvertor.asmx/ConversionRate?FromCurrency=USD&ToCurrency=DKK This call will show a number in a webview window, but I need to make som calculations on this figure. I tried the "convert string to integer" but must be doing something very wrong. Could someone point me in the right direction or give me an example Thank you in advance Mogens
NJDude Expert Licensed User Longtime User Sep 7, 2012 #2 You need to parse that result, in other words, you have to extract the amount from that XML. Upvote 0
M mogenskilde Member Licensed User Longtime User Sep 7, 2012 #3 NJ Dude Thanks for quick respons. I do however not understand .. :sign0085: , could you point me in direction of example that extract data from an URL like the number that apear in my example URL. Upvote 0
NJ Dude Thanks for quick respons. I do however not understand .. :sign0085: , could you point me in direction of example that extract data from an URL like the number that apear in my example URL.
NJDude Expert Licensed User Longtime User Sep 7, 2012 #4 Sure buddy, take a look at the attached sample. I hope that helps. Attachments Sample.zip 6.1 KB · Views: 311 Upvote 0
M mogenskilde Member Licensed User Longtime User Sep 8, 2012 #5 NJ Dude I've put your code into my program and made it work to my needs. I'm very grateful for your help. I even think I understand a little on what's going on with httpRequest and more. Thank you again, this board sure is great Upvote 0
NJ Dude I've put your code into my program and made it work to my needs. I'm very grateful for your help. I even think I understand a little on what's going on with httpRequest and more. Thank you again, this board sure is great