Obtain the desired custom url scheme first. e.g. for facebook, it is "fb://profile"
Then in my App, launch facebook as follow:
Titanium.Platform.openURL('fb://profile');
My app's url scheme value is defined in info.plist:
URL types> URL Schemes
which is equivalent to value defined in tiapp.xml
沒有留言:
張貼留言