Search code examples
androidandroid-intentamazon-fire-tv

Force Android app to use a particular intent, rather than showing intent menu


I'm working on a Fire TV app, and want to deep link to some of our other apps in their store. This can be done using amzn:// links instead of http:// but it brings up an intent menu to choose either the app store app or kindle app to complete the action.

Is there any way to force it to use a single intent (the app store), and not show the menu, or is it simply a feature of Android that it must be done this way in order to allow the user more flexibility?


Solution

  • If you are sure that application which should get your intent is exist in a system, you can use Intent.setClass method