开发者

How to link our app to the app present in android market

I have created an app which is a paid version. I recently laun开发者_JS百科ched my paid version of the app in the android market.

Now I have created the free version of that app, which is also launched in the android market. There is a button in my free version app. So when I click that button I want to open a link of the android market where my paid version of the app is. I mean to say that I have an option in my free app from which I can get the paid version of my app which is stored in the android market.

So can anyone please help me to solve this out?

Regards

Anshuman


i found this in the documentation

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("market://details?id=com.android.example"));
startActivity(intent);


You need to raise a special kind of intent on button click. Refer to official documentation for details.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜