http://developer.android.com/guide/publishing/publishing.html
/**
* market://search?q=pname:<package>
*/
private void startSearchPNAMEIntent(){
String pkgname;
if(mEditText != null){
pkgname = mEditText.getText().toString();
}else{
return;
}
Uri uri = Uri.parse("market://search?q=pname:"+pkgname);
Intent it = new Intent(Intent.ACTION_VIEW, uri);
startActivity(it);
}
/**
* market://search?q=pnames:<package>
*/
private void startSearchPNAMESIntent(){
String pkgnames;
if(mEditText != null){
pkgnames = mEditText.getText().toString();
}else{
return;
}
Uri uri = Uri.parse("market://search?q=pnames:"+pkgnames);
Intent it = new Intent(Intent.ACTION_VIEW, uri);
startActivity(it);
}
/**
* market://search?q=pub:Your Publisher Name
*/
private void startSearchPUBIntent(){
String pub;
if(mEditText != null){
pub = mEditText.getText().toString();
}else{
return;
}
Uri uri = Uri.parse("market://search?q=pub:"+pub);
Intent it = new Intent(Intent.ACTION_VIEW, uri);
startActivity(it);
}
/**
* market://details?id=<package_name>
*/
private void startSearchIDIntent(){
String id;
if(mEditText != null){
id = mEditText.getText().toString();
}else{
return;
}
Uri uri = Uri.parse("market://search?id="+id);
Intent it = new Intent(Intent.ACTION_VIEW, uri);
startActivity(it);
}