Monday, March 26, 2012

A Shiny New Me • Bridging The PhoneGap: ChildBrowser Plugin

A Shiny New Me • Bridging The PhoneGap: ChildBrowser Plugin: "PhoneGap wraps your application in a mobile Safari window. But what if you want to open a new window? While we are doing HTML/JavaScript development in PhoneGap, some things do not work. For instance, you cannot simply call…

window.open("http://google.com")

or

View On Reddit
Spawning new windows or redirecting to other content is not OK and doesn’t work they way it does on the web. The reasons for spawning a new window in a web application vary, but consider the following scenarios…

You want to let a user browse a link in your application without actually having to leave your app.
You want to popup a window so they can login to a 3rd party (read Facebook, Twitter) without having to leave your application.
You want to display a PDF document for them to read."

'via Blog this'