Providing a link directly to the Amazon Appstore for Android from within your app is an effective tool for promoting your apps. This type of link is referred to as a deep link and can be used for several purposes including:
The Amazon Appstore for Android will automatically pick up on specially formatted links through the use of Android Intents. These are referred to as "deep" links. You have two options for providing a deep link.
This type of link will be picked up by the Amazon Appstore for Android as well as any installed browsers on the device. The base URL is as follows:
http://www.amazon.com/gp/mas/dl/android?
This specially formatted link is the preferred method and will directly open up the Amazon Appstore for Android. The base URL is as follows:
amzn://apps/android?
Both deep link formats accept parameters to tailor the link result.
Parameter | Description | Amazon Client Example | Amazon Retail Web Example |
---|---|---|---|
s= | Add a search term. Please note that you would have to use URL Encoding for special characters (e.g. spaces). | amzn://apps/android?s=amazon%20mp3 | http://www.amazon.com/gp/mas/dl/android?s=amazon%20mp3 |
p= | Link to the detail page for a specific package name. | amzn://apps/android?p=com.amazon.mp3 | http://www.amazon.com/gp/mas/dl/android?p=com.amazon.mp3 |
asin= | All apps in the catalog have a unique identifier known as an ASIN. Use this identifier to link directly to an app by its ASIN. The ASIN for an app can be found on its detail page. | amzn://apps/android?asin=B004FRX0MY | http://www.amazon.com/gp/mas/dl/android?asin=B004FRX0MY |
showAll=1 | Show all apps by the developer of the app corresponding to the specified package name or ASIN (requires “p” or “asin” arg) | amzn://apps/android?p=com.amazon.mp3&showAll=1 | http://www.amazon.com/gp/mas/dl/android?p=com.amazon.mp3&showAll=1 |