android-user android-user - 10 months ago 54
Android Question

How to launch Amazon Shopping app in Android app?

I'd like to be able to launch the Amazon Shopping app from my android application. How is this possible? What parameters would need to go into the Intent? Here is a link to the Amazon Shopping app: https://play.google.com/store/apps/details?id=com.amazon.mShop.android.shopping&hl=en

In addition, how would it be possible to pass a deep-link parameter so that it lands on a specific product page? Thank you!

Answer Source

I'd like to be able to launch the Amazon Shopping app from my android application. How is this possible? What parameters would need to go into the Intent?

You can use PackageManager#getLaunchIntentForPackage

startActivity(getPackageManager().getLaunchIntentForPackage("com.amazon.mShop.android.shopping"));

In addition, how would it be possible to pass a deep-link parameter so that it lands on a specific product page?

It depends on whether Amazon app implements deep link and exposes intent-filter to external app. I assume it's not possible, but maybe you can ask Amazon.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download