Reputation: 1127
I have a small error that I can't seem to fix.
here's my code
public void moreApps(View v) {
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri
.parse("market://search?q=pub:dvir"));
startActivity(intent);
}
I simply want to link to my apps, which can be found here: https://play.google.com/store/apps/developer?id=Dvir
What is the correct syntax?
Thanks in advance!
Dvir
Upvotes: 1
Views: 126
Reputation: 2054
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("market://search?q=pub:Dvir"));
startActivity(intent);
Upvotes: 2