Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a Android Market Link for listing all apps from the developer?

I am trying to add a button in my app saying "more apps" which opens the Android Market App listing all my apps. I found a document here saying that the link should be market://search?q=pub:. However, it's NOT working. On Searching it returns no result. The link for HTTP:// works though, but I really want to use the market:// link.

Can anyone help me with this? Thank you,

like image 672
Xi 张熹 Avatar asked Mar 07 '11 12:03

Xi 张熹


2 Answers

I found out that the problem is about formatting. The URL should be something like:

String MARKET = "market://search?q=pub:\"Developer Name\""; 
like image 73
Xi 张熹 Avatar answered Oct 21 '22 16:10

Xi 张熹


Intent goToMarket; 
goToMarket = new Intent(Intent.ACTION_VIEW, Uri.parse("market://search?q=pub:\"Developer name\"")); 
startActivity(goToMarket); 
like image 5
Lumis Avatar answered Oct 21 '22 14:10

Lumis