开发者

Android Market Link shows two options

I have the following working code:

startActivity(
    new Intent(Intent.ACTION_VIEW,
        Uri.parse("http://market.android.com/details?id=me.cexi.accuapp")));

When the user clicks on the Action Button, they get the Complete action using dialog with the following:

Browser
Market

How do I limit the option to just the marke开发者_开发知识库t?


from using intents to launch market app

use market://details?id=<packagename> instead of the http://market.android.com/... URL

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜