In the application I'm working on, I want to support Netfilx streams. I intend to do this by simply starting Netflix and passing a specific URI so that it runs a specific video at startup. Just? Well, the problem is that I'm not sure how to convey the video image information in the intent that I use to start the Activity.
I read the post here , but don't know where to use it. I used Intent.setData () as it accepts a URI, but to no avail.
Here is what I did (I hardcode the movie data, this is for testing purposes only):
I also tried using the URI protocol in the link above like this:
Uri uri = Uri.parse("nflx://movies.netflix.com/WiPlayer?movieid=70266228&trkid=13462049&ctx=0%2C1%2Ce2bd7b74-6743-4d5e-864f-1cc2568ba0da-61921755");
but I donβt see the video yet.
It seems to me that I am missing something simple here, although for this I had very little luck for Google, I could hardly find anything about launching the Netflix Android application from another application. Netflix developers have no information about this.
Does anyone have any suggestions on how I can do this or where should I look for documentation on this? Any help would be greatly appreciated. Many thanks!
android android-intent android-activity netflix
Themethod
source share