Can you search Google Play with Intent?

Here's the situation:
I want to open another application using implicit intent, but the user does not have the corresponding application. Can I open for him "Google Play Search Activity" with the results, including applications containing components that can serve such an intention (have an appropriate intent filter). In other words, can you search using "Intent data"?

+7
source share
3 answers

To perform a search, use the search keyword in the URI:

Intent goToMarket = new Intent(Intent.ACTION_VIEW).setData(Uri.parse("market://search?q=<Your Search Word>")); startActivity(goToMarket); 
+8
source

There is currently no API for accessing Google Play information - no answer.

There are several alternative projects that allow you to access the API to get information about the Play market, but there is currently no official Play Market API supported by Google.

0
source

This can be done at the URL. You want the general intention of ACTION_VIEW with the Google Play URL. The Play Store app accepts the intention.

Examples:

This URL works to search for twitter in the store. https://play.google.com/store/search?q=twitter&c=apps

This URL downloads the entry for the official Twitter app in the store. https://play.google.com/store/apps/details?id=com.twitter.android

0
source

All Articles