The source code of PhoneGap 2 Demo index.html page is posted and available. I also include my comments to explain what I have done and why.

Let me know if you have any questions.

Have been very busy but will update the source code for other pages later.