Code from Scott Klement's "Mobile RPG With PhoneGap" presentation:

config.xml = PhoneGap configuration
rpgle      = directory with RPG code
www        = directory with web code for PhoneGap app


TO INSTALL THE RPG CODE:

Upload the PROD001R.SQLRPGLE file to a source member named PROD001R in a QRPGLESRC source file on your IBM i.  Then read the comments in the source code for information on how to compile and install this program.


TO CREATE THE PHONEGAP APP:

1) First create a PhoneGap app with "phonegap create"

2) Remove the "www" directory from your new phonegap app and replace it with the one included herein.

3) Remove the splash screen plugin with:
     phonegap plugin remove cordova-plugin-splashscreen

4) Add the barcode scanner app with:
     phonegap plugin add cordova-plugin-barcodescanner


TO RUN IT  

It should be all ready to run. You can use phonegap serve to try it out, or phonegap build to build it, just like any other phonegap application. 