open link of google play store in mobile version android

0 votes
Uri uri = Uri.parse("url");
Intent intent = new Intent (Intent.ACTION_VIEW, uri); 
startActivity(intent);

this codes opens the browser version of google play store.

When trying to open from my phone, the phone prompts if I want to use a browser or google play and if I choose the second one it opens the mobile version of google play store.

Can you tell me how can this happen at once? 

Jun 9 in Others by polo
• 1,500 points
40 views

1 answer to this question.

0 votes

You can use Android Intents library for opening your application page at Google Play:

Intent intent = IntentUtils.openPlayStore(getApplicationContext());
startActivity(intent);
answered Jun 9 by nisha
• 2,180 points

Related Questions In Others

0 votes
0 answers
0 votes
2 answers

How to get the URL of the current tab in Google Chrome?

Its so simple.... If you want to ...READ MORE

answered Aug 12, 2020 in Others by Steve
• 200 points
792 views
0 votes
1 answer

Change date format of cell in excel from dd.mm.yyyy to yyy/mm/dd ( excel version 2013 )

Hello :)   Excel’s Format Cells function can quickly ...READ MORE

answered Feb 9 in Others by gaurav
• 17,000 points
218 views
0 votes
1 answer

Unable to detect adb version, adb output in Android Studio 3.3.2

To avoid this ERROR, start with changing ...READ MORE

answered Feb 11 in Others by Soham
• 8,740 points
429 views
0 votes
1 answer

How to open the Google Play Store directly from my Android application?

By using developer.andriod.com, one can solve this ...READ MORE

answered Feb 8 in Others by Rahul
• 9,000 points
22 views
0 votes
1 answer

A/B Testing for builds in Google Play

there is a staged roll out feature ...READ MORE

answered Feb 18 in Others by narikkadan
• 11,280 points
32 views
0 votes
0 answers

After 4 days app is still not indexed in Google Play search

I have published my first application (Voice ...READ MORE

Mar 4 in Digital Marketing by Kichu
• 19,040 points
22 views
0 votes
0 answers

After 4 days app is still not indexed in Google Play search

I have published my first application (Voice ...READ MORE

Mar 6 in Digital Marketing by Kichu
• 19,040 points
43 views
0 votes
1 answer

How to open the Google Play Store directly from my Android application?

To open Google Play AND ONLY Google ...READ MORE

answered Jun 6 in Others by nisha
• 2,180 points
30 views
0 votes
1 answer

How to open YouTube video link in android app?

The below code will do that: Intent intent ...READ MORE

answered Jun 1 in Others by nisha
• 2,180 points
63 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP