Subrat
Subrat

Reputation: 3988

How to connect android market in an application?

How to connect android market in my android application?

Upvotes: 1

Views: 591

Answers (1)

Saimon
Saimon

Reputation: 733

I'm guessing you want to launch the android market app and point to a certain application on the market.

Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=com.test.TestApp"));
startActivity(intent);

Replace the "com.test.TestApp" with the package name of the application you want to point to.

Upvotes: 5

Related Questions