Building a currency conversion hybrid app
The term hybrid app loosely means an app built through WebView wrappers that displays remote data in it. The web browser component inside the native app wrapper is primarily used to display the UI and data that has been fetched in JSON format to update the content. PhoneGap is one such technology. And so, native app development with PhoneGap along with the ability to update UI from remote data can also be referred to as a hybrid app. In this recipe, we'll see how to build a currency conversion app.
Getting ready
We'll require:
A Mac machine with Xcode installed
PhoneGapLib installed in Xcode
jQTouch available from http://jqtouch.com/ along with jQuery core
money.js
, a JavaScript currency conversion library available from http://josscrowcroft.github.com/money.js/Open source Exchange Rates API available at http://openexchangerates.org/latest.php
How to do it...
Open source exchange rates API offers over 120 conversion rates with USD as a base currency. Its...