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