Game Development Community

go to the app store from within the game

by Mike Moore · in iTorque 2D · 08/22/2009 (9:12 pm) · 7 replies

Hello,

I´m sure I´ve read somewhere here but can´t find now. Is there a way to call a link to the apple store from within my game? I´m sure I must change some scripts, but can´t remember.

Thanks

Mike

#1
08/22/2009 (9:20 pm)
you would open the browser and open an appstore link. appstore links have a special "protocol" that will automatically open the app store application
#2
08/22/2009 (10:10 pm)
@Marc,

Thanks for your answer. That´s exactly what I want to do, but I just don´t know how.

Can you explain further please? I´ve read that I file must be changed to be able to do that...

Mike
#3
08/23/2009 (1:08 am)

Here's how I did it for Bikini Poker Free:

$APP_STORE_BIKINI = "itms://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=307712857&mt=8";

gotoWebPage($APP_STORE_BIKINI);

#4
08/23/2009 (6:00 am)
Easier way:

http://itunes.com/app/shortname

For example, for Bikini Poker Free the shortname is "bikinipokerfree", or so I guess, because it tells me it's not available in Norway :)
(Non-existent apps give you a page in iTunes which clearly states so)
#5
08/23/2009 (11:38 am)
Thanks guys, I will try both right now :)

Mike
#6
08/23/2009 (1:42 pm)
Ronny, I took the free version off of the app store. But I don't think you can use http to get the itunes store to pop up. I think you need to use itms://, but I could be wrong. I haven't tested it with http://.
#7
08/24/2009 (2:34 am)
http:// is what the devs over at the official forums suggest. Try a mix of styles and see what happens :)