Skip to main content
rjoshicool
Inspiring
March 22, 2012
Question

Open Android Market and Apple App Store from AIR Mobile App

  • March 22, 2012
  • 2 replies
  • 1077 views

I have two versions of my app, one is free and one is paid. I want to show links to paid version in the free version of the application. I want to open the link to the paid app directly in the  market or app store. How can I do that?

This topic has been closed for replies.

2 replies

March 22, 2012

Here is what I had used on a lite version of one of my apps, when you click that it opens the native app store app and links right to the app you want to sell to the users.

function fl_getFullVersion(event:MouseEvent):void

{

    navigateToURL(new URLRequest("http://itunes.apple.com/us/app/pop-goes-the-bubble/id452505669?mt=8"), "_blank");

}

So swap your app name and id and thats your link for itunes.

rjoshicool
Inspiring
April 3, 2012

Thanks that works for iOS devices. I was also able to get it working for Android using the market://details?id=<package_name> notation. The direct link also works but with an exception that it asks wether you want to opne it with browser or with Android Market