finalString appPackageName = getPackageName();// getPackageName() from Context or Activity objecttry{
startActivity(newIntent(Intent.ACTION_VIEW,Uri.parse("market://details?id="+ appPackageName)));}catch(android.content.ActivityNotFoundException anfe){
startActivity(newIntent(Intent.ACTION_VIEW,Uri.parse("http://play.google.com/store/apps/details?id="+ appPackageName)));}
App搜索列表页
Uri uri =Uri.parse("market://search?q=pub:"+YourDeveloperName);Intent myAppLinkToMarket =newIntent(Intent.ACTION_VIEW, uri);try{
startActivity(myAppLinkToMarket);}catch(ActivityNotFoundException e){//the device hasn't installed Google PlayToast.makeText(Settings.this,"You don't have Google Play installed",Toast.LENGTH_LONG).show();}