Not all Android devices have the Google Play app installed.
So, what will happen, if a I open a Google Play page in the browser by intent?
Can the user still download the app?
I can’t test it, because all my devices have the Google Play app installed as part of the Android OS.
Here is the code in question:
String url = "http://play.google.com/store/apps/details?id=com.example.my_app";
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(url));
startActivity(i);
Will the user be able to install the app?
The play store will open in the browser, but the user will still be unable to download and install, as his/her device won’t show up as valid in the list of play store devices that it can be installed on (remember that the browser version of the play store never downloads, but instead just sends it via cloud installing to various devices). Your only option would be, if there is no play store installed, to offer them a download link for sideloading.