titanium open new url

JqueryToAddNumbers picture JqueryToAddNumbers · Feb 27, 2011 · Viewed 8.9k times · Source

I would like to open a new url in the default browser when the user clicks on an image. I have looked into the Titanium.Platform.openURL but don't know how to use it.

any help is appreciated

Answer

jellyfishtree picture jellyfishtree · Feb 27, 2011
Ti.Platform.openURL("http://m.google.com"); //replace string lit with your url