开发者

How to connect android market in an application?

开发者 https://www.devze.com 2023-01-15 11:45 出处:网络
How to connect android market in my a开发者_如何转开发ndroid application?I\'m guessing you want to launch the android market app and point to a certain application on the market.

How to connect android market in my a开发者_如何转开发ndroid application?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号