How To Open The Google Play Store Directly From Your Android App?

Please follow and like us:

Open App In Play Store Android Example

Need to open your play store apps from your current app? then this tutorial must be helpful you to implement the logic of Open App In Play Store Android.

For opening your app in play store directly from your current app, add following logic

        final String appPackageName = getPackageName(); 
                try {
                    startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=" + appPackageName)));
                } catch (android.content.ActivityNotFoundException anfe) {
                    startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("" + appPackageName)));

Hope you liked our simple and short solution for the Open app in play store android tutorial.

Happy Coding 🙂


nirav kalola