I am building a mobile App using HTML5, CSS3 and Javascript with PhoneGap API. I have 2 versions of my app one free and one paid. All i want to do is if the user wants to buy the paid version he should be redirected to the Play Store so i am using the following code just an example.
<a href="https://play.google.com/store/apps/details?id=com.disney.toystorysmashitfree_goo" >Remove Adds</a>
However this code does open play store but in a browser not the default google play store app. How do i get this feature working ?