CCApplication::sharedApplication().openURL


#1

Hello,

I want to open an external url, tried to use CCApplication::sharedApplication().openURL for the purpose but CCApplication class does not seem to have openUrl function.

Thanks in advance.

Yasir


#2

CCApplication::sharedApplication().openURL -> not official code , just is a cute hack for some special task depend on running platform


#3

@cyclelab Thanks,

Can we do it on WP8 as well, with some hack :slight_smile:


#4

@jugnoyasir you could refer to this PR https://github.com/cocos2d/cocos2d-x/pull/4893/files

It implements the open external URL function.


#5

@0owen Thanks that was helpful.

But it is for iOS and Android. I am looking for WP8 as well , if there is any help It will be highly appreciated.

Yasir


#6

@Aha, I am not familiar with WP8. sorry for that.