OpenTok PhoneGap 2.2.0 working sample, Hello World. Index.js is modified to publish and subscribe to video streams in a session, and index.html has an extra div with id myPublisherDiv for publisher object.