开发者

How to connect android market in an application?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜