Android examples for Intent:App Market
Show all apps by a publisher in Google Play
//package com.java2s; import android.app.Activity; import android.content.Intent; import android.net.Uri; public class Main { /**/* ww w .j a va 2 s. c om*/ * Show all apps by a publisher * * @param a * @param publisherName */ public static void showPublisherInGooglePlay(Activity a, String publisherName) { try { a.startActivity(new Intent(Intent.ACTION_VIEW, Uri .parse("market://search?q=pub:" + publisherName))); } catch (android.content.ActivityNotFoundException anfe) { a.startActivity(new Intent(Intent.ACTION_VIEW, Uri .parse("http://play.google.com/store/search?q=pub:" + publisherName))); } } }