How Do You Create A Stub Application That Only Directs Users To Download The Full Version On Google Play?
Just looking to create a stub application that does nothing but direct the user to download the full version on Google Play once the application is launched. I'm assuming the stub
Solution 1:
Try this one:
finalStringappName="com.example";
startActivity(newIntent(Intent.ACTION_VIEW, Uri.parse("market://details?id="+appName)));
Remember that user can have no GooglePlay Installed, in that case you want to catch ActivityNotFoundException (or something like that), and give link to browser.
Your app stub has to have same package name, and must be signed with same certificate as one in GooglePlay.
Post a Comment for "How Do You Create A Stub Application That Only Directs Users To Download The Full Version On Google Play?"