Android Code Snippet Point user to a list of all your app on Google Play

Discussion in 'Code Snippets' started by DonManfred, May 2, 2015.

  1. DonManfred

    DonManfred Expert Licensed User

    SubName: <noname>

    Description: This is a small code snippet you can use to Point a user of your app to a list of all your apps on Google Play.

    Code:
    In this example i used "com.MOBZAPP" as searchquery. Assuming your app all have the same package-prefix then you can use this prefix to search for your apps.

    Example: If your packagenames are com.xyz.appa, ccom.xyz.thisgreatapp, [...]
    then you can use com.xyz as the searchquery

    Code:
    Dim fURI As String
      fURI = 
    "market://search?q=com.MOBZAPP"
      
    Dim Market As Intent
      Market.Initialize(Market.ACTION_VIEW,fURI)    
        
    StartActivity (Market)
    Dependencies: none

    Tags: myapps, playstore,allapps
     
  2. Inman

    Inman Well-Known Member Licensed User

    You can also use market://search?q=pub:<publisher_name> which will make sure only the apps uploaded by the same publisher will be displayed.

    For example, market://search?q=pub:Google Inc. will display apps uploaded by Google only.
     
    cambopad and DonManfred like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice