How can I search the Amazon App Store using Intent and filter it by developer name?

Is there a way to run Intent on the Kindle Fire that forces the AppStore to open and display all applications for a specific developer? For example, on a phone / tablet with Android Market installed, I can do this:

           Intent otherApps = new Intent(Intent.ACTION_VIEW,Uri.parse("market://search?q=pub:\"" + developerName + "\""));
           activity.startActivity(otherApps);

And show all my apps in the Android Market. Can I do this using the Amazon app store? If so, how? I tried this intent with other seemingly valid names (for example, "ZeptoLab"), and I don't get the filtering. It just throws me into a complete unfiltered app store. Finding a specific application with "market: // details? Id = package.name" really works.

+2
source share
5 answers

From https://developer.amazon.com/help/faq.html#Marketing :

To point to your application for marketing purposes, use the URL http://www.amazon.com/gp/mas/dl/android?p=packagename (where packagename is the name of your application).

If you want to link to a list of all your apps on the Amazon App Store, use the URL http://www.amazon.com/gp/mas/dl/android?p=packagename&showAll=1 .

eg. http://www.amazon.com/gp/mas/dl/android?p=com.rovio.angrybirds&showAll=1

All of this can be seen here: https://developer.amazon.com/sdk/in-app-purchasing/sample-code/deeplink.html

Update (deep binding):

amzn://apps/android?p=
+18

- - ( ), :

+3

, , chiuki:

, , App Store App Android Market. , , , , , "" . . :

:

 <bool name="app_is_in_amazon_app_store">true< /bool>

:

public class SomeUtil
{


 private static Boolean isInAmazonAppStore;


 public static boolean isInAmazonAppStore(Activity activity)
 {

       if (isInAmazonAppStore == null) 
        {
           isInAmazonAppStore =   activity.getResources().getBoolean(R.bool.app_is_in_amazon_app_store) ;
        }

       return isInAmazonAppStore;

 }

    public static void startOtherMarketAppsActivity(Activity activity)
    {
        try
        {
            Intent otherApps = null;

            if (isInAmazonAppStore(activity))
            {
              otherApps = new Intent(Intent.ACTION_VIEW,Uri.parse("http://www.amazon.com/gp/mas/dl/android?p=" + getPackageNameInAmazonAppStore(activity) + "&showAll=1")); 
            }
            else
            {
              otherApps = new Intent(Intent.ACTION_VIEW,Uri.parse("market://search?q=pub:\"" + getAndroidDeveloperName(activity) + "\""));
            }

            activity.startActivity(otherApps);
        }
        catch(Exception ex){  /* error handling */} 
}
+2
+2

Amazon now maintains its own deep links: https://developer.amazon.com/appsandservices/apis/earn/in-app-purchasing/docs/deeplink

eg. you can start with uri amzn://apps/android?p=my.package.name.

+2
source

All Articles