Thanks - Correncec! IT totally worked! You're a genius!!!
One thing I wasn't sure about:
In Step 5, there are two places of: "curwidth" and "curheight", do both get replaced? The answer is: Yes they do.
[quote:fy6ide7y] if (this.lastWindowWidth !== curwidth || this.lastWindowHeight !== curheight)
Replace curwidth with window_innerWidth()
Replace curheight with window_innerHeight()
Also - I just installed the latest XDK and the Intel XDK app preview on my devices. What a time saver in testing! Now, all you have to do is export using Cordova, select the "test" tab in XDK, then push your files, and (in the app on your device) hit the camera, aim at the QR code and, BAM!!!, there it is on the device!