Skip to main content
Known Participant
September 19, 2011
Answered

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

  • September 19, 2011
  • 1 reply
  • 952 views

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 has been closed for replies.
Correct answer Colin Holgate

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.

1 reply

Colin Holgate
Colin HolgateCorrect answer
Inspiring
September 19, 2011

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.

Known Participant
September 19, 2011

Thank you very very much. This indeed solves it.

Kind regards,

Bart