Skip to main content
Known Participant
Sep 19, 2011 5:49 PM UTC
Answered

Opening appstore from within app without having 2 or 3 screenflashes/popups/popunders

Hi,

I would like to link from within my application to another application on the apple appstore.

Here on the forum I found the following code

navigateToURL(new URLRequest(http://itunes.com/apps/appname));

This works nicely, but when you execute it, you get some window onscreen and that switches a couple of times before you get to the actual appstore screen.

On the net I found also that you could eliminate that flickering/redirecting/whatever... by not using http:// , but itms:// or itms-apps://

Like below

navigateToURL(new URLRequest("itms://itunes.com/apps/appname"));


navigateToURL(new URLRequest("itms-apps://itunes.com/apps/appname"));

But if I use any of the 2 lines below, then there happens absolutely nothing.

Does anyone know a solution for this ?

Kind regards,

Bart

This topic is closed to new replies. Start a new post to keep the conversation going.
Colin Holgate
Colin HolgateCorrect answer
Inspiring
Sep 19, 2011 6:21 PM UTC

You can go straight to the product page with a url like this one:

itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=406162881

and you can take someone straight to writing a review with this kind of link:

itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=406162881

The ID would be the app store ID for the product. I think you won't get through to the review page unless the app in question is installed on that device.

2 replies

Colin Holgate
Colin HolgateCorrect answer
Inspiring
Sep 19, 2011 6:21 PM UTC

You can go straight to the product page with a url like this one:

itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=406162881

and you can take someone straight to writing a review with this kind of link:

itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=406162881

The ID would be the app store ID for the product. I think you won't get through to the review page unless the app in question is installed on that device.

Translate
Known Participant
Sep 19, 2011 6:26 PM UTC

Thank you very very much. This indeed solves it.

Kind regards,

Bart

Translate