Android: link to your product (linking to your products)

Source: Internet
Author: User
Linking to your products

For a link that includes des the Google Play brand icon, check out
Badges page.

Google Play provides several link formats that let you bring users to yourproducts In The Way You Want, from Android apps, web pages, ads, reviews, articles, social media posts, and more.

The link formats let you:

  • Link to a specific app's
    Product details page
  • Link to
    List of all of your apps, or
  • Link to
    Search Result of your choice
  • Link to
    Collection on Google Play

If you are linking from an Android app, you can also control whether the linklaunches The Play Store application or the browser, which takes the userto the Google Play web site.

Linking to a product details page

Use the format below to deep-link users directly to a specific app's productdetails page. at the product details page, users can see the app description, screenshots, reviews and more, and then install it.

To create the link, you need to know the app's fully qualifiedPackagename, Which is declared in the app's

Manifestfile. The package name is also visible in the developer console.

From a Web site:
http://play.google.com/store/apps/details?id=<package_name>
From an Android app:
market://details?id=<package_name>

Here's an example:

http://play.google.com/store/apps/details?id=com.google.android.apps

For details on how to send the link in an Android app, see
Linking from an Android app.

Linking to a product list

Use the format below to link users to a list of apps published by you. theproduct list lets users see all of the apps from a specific her, withratings, Editorial badges, and an install button for each.

To create the link, you need to know yourPublisher name, Which isavailable from the developer console.

From a Web site:
http://play.google.com/store/search?q=pub:<publisher_name>
From an Android app:
market://search?q=pub:<publisher_name>

Here's an example:

http://play.google.com/store/search?q=pub:Google Inc.

For details on how to send the link in an Android app, see
Linking from an Android app.

Linking to a search result

Use the format below to link users to a search query result on Google Play. the search result page shows a list of apps (and optionally other content) thatmatch the query, with ratings, badges, and an install button for each.

To create the link, you just need a search query string. If you want thequery to search outside of the Google Play apps listings, you can remove&c=appsPart of the link URL.

From a Web site:
http://play.google.com/store/search?q=<search_query>&c=apps
From an Android app:
market://search?q=<seach_query>&c=apps

Here's an example:

http://play.google.com/store/search?q=maps&c=apps

For details on how to send the link in an Android app, see
Linking from an Android app.

Linking to a collection

If your app is featured or appears in one of the Google Play top charts orcollections, you can use the format below to link users directly to thecollection. the collection shows a ranked list of apps in the collection, withratings, short descriptions, and
An Install button.

From a Web site:
http://play.google.com/store/apps/collection/<collection_name>
From an Android app:
market://apps/collection/<collection_name>

Here's an example:

http://play.google.com/store/apps/collection/editors_choice

For details on how to send the link in an Android app, see
Linking from an Android app.

Table 1.Collections on Google Play.

Collection Collection_name
Staff picks (featured) Featured
Editor's choice Editors_choice
Top paid Topselling_paid
Top free Topselling_free
Top New free Topselling_new_free
Top New paid Topselling_new_paid
Top grossing Topgrossing
Trending Movers_shakers
Best Selling in games Topselling_paid_game
Linking from an Android app

There are two general formats for links that are accessible to users onandroid devices, the two formats trigger slightly different behaviors on thedevice:

  • market://Launches the Play Store app to load thetarget page.
  • http://Lets the user choose whether to launch theplay store app or the browser to handle the request. If the browser handles therequest, it loads the target page on the Google Play web site.

In general, you shoshould usehttp://Format for links on Web pagesand
market://For links in Android apps.

If you want to link to your products from an Android app, createIntentThat opens an Google Play URL, as shown in the examplebelow.

Intent intent = new Intent(Intent.ACTION_VIEW);intent.setData(Uri.parse("market://details?id=com.example.android"));startActivity(intent);
Summary of URL formats

The table below provides a summary of the Uris currently supported by the Google Play (both onthe Web and in an Android Application), as discussed in the previous sections.

For this result Web page Link Android app Link
Show the product details page for a specific app http://play.google.com/store/apps/details?id=<package_name> market://details?id=<package_name>
Show APPs by a specific her http://play.google.com/store/search?q=pub:<publisher_name> market://search?q=pub:<publisher_name>
Search for apps using a general string query. http://play.google.com/store/search?q=<query> market://search?q=<query>
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.