Created
March 16, 2012 05:15
-
-
Save minhnc/2048590 to your computer and use it in GitHub Desktop.
Android Intent - Open default Browser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var intent = Ti.Android.createIntent({ | |
action: Ti.Android.ACTION_VIEW, | |
data: 'http://www.cnblogs.com', | |
className: 'com.android.browser.BrowserActivity', | |
packageName: 'com.android.browser' | |
}); | |
Ti.Android.currentActivity.startActivity(intent); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment