Read-A-Meter is a smartphone app to keep your meter readings. It is using PhoneGap and JQuery Mobile. The code is based on the swipe-list demo.
Open checked out file www/index.html in a web browser.
- Install PhoneGap/Cordova.
- Install Android Platform.
- Set
$ANDROID_HOME
to the android-sdk directory. - Optional for more detailed console output:
npm install -g cordova
phonegap build android
or for more detailed console output (if cordova has been installed explicitly)
cordova build android
This compiles to an apk file in platforms/android/build/outputs/apk/android-debug.apk
.
The first time phonegap build android
is called the android platform will be initialised.
If you get an expection during build it might help to delete your ~/.gradle
directory.
Run
phonegap serve