Opening a webpage in Titanium is really simple. Look at the following sample.

function openWebpage(){
	var URL = ""	;

If you are running in iPhone then it will open safari and if it is ANDROID, it will open the default browser with the supplied URL String.
Happy coding……..

Please leave your valuable comments.


One Comment

  1. kavya July 17, 2014 at 9:48 am

    hi .

    am redireing facebook link using Titanium.Platform.openURL() . but it is opening facebook app please help me for this issue. i need to open facebook link in browser


Leave a Reply

Your email address will not be published. Required fields are marked *




Theme by HermesThemes

Copyright © 2018 CoderzHeaven. All Rights Reserved

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.