webView: open the game in App store

Can’t find a way to open my game page on the App store (web).

Tried this two links with the webView but get the following errors:

  1. http://itunes.apple.com/us/app/fun-football-tournament-soccer/id550816509?ls=1&mt=8

It just opens a blank white window (no error)

  1. http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=550816509&mt=8

Get error 101: The URL can’t be shown.
Both open fine on Windows browsers.

I tried opening some other pages like my home page (www.ubj3d.com) and that works fine.
Regards,
Damir.

[import]uid: 108334 topic_id: 30815 reply_id: 330815[/import]

Not sure what you’re trying to do, but you might be better off using system.openURL( “http://itunes.apple.com/us/app/fun-football-tournament-soccer/id550816509?ls=1&mt=8” )

That will open the url in mobile Safari, which will open it in the iTunes App. It exits your game, but IMO the iTunes App interface is much better on a mobile device than a web page.

Good Luck!

[import]uid: 117991 topic_id: 30815 reply_id: 123477[/import]

Thank you for your reply.

What you suggested is what I ended up with.

But still, it should work with the WebView also.

Regards,
Damir. [import]uid: 108334 topic_id: 30815 reply_id: 123499[/import]

Not sure what you’re trying to do, but you might be better off using system.openURL( “http://itunes.apple.com/us/app/fun-football-tournament-soccer/id550816509?ls=1&mt=8” )

That will open the url in mobile Safari, which will open it in the iTunes App. It exits your game, but IMO the iTunes App interface is much better on a mobile device than a web page.

Good Luck!

[import]uid: 117991 topic_id: 30815 reply_id: 123477[/import]

Thank you for your reply.

What you suggested is what I ended up with.

But still, it should work with the WebView also.

Regards,
Damir. [import]uid: 108334 topic_id: 30815 reply_id: 123499[/import]