title: Launching Android Netflix App And Passing Video Id
body: <p>In the app I am working on I want to support Netfilx streaming. I intend on doing this by simply starting Netflix and passing a specific URI so it plays a specific video when started. Simple right? Well, the issue is I'm not sure how to pass the video id info in the Intent I use to start the Activity. </p>
  
  <p>I've read the post <a href="https://stackoverflow.com/questions/10910321/start-netflix-android-app">here</a> , but am unsure where to use this. I used Intent.setData() since it accepts a URI, but to no avail.</p>
  
  <p>Here is what I have been doing (I am hard coding the movie data, this is just for testing purposes) :</p>
  
  <pre><code>// the Netflix intent
  Intent intent = getPackageManager().getLaunchIntentForPackage("com.netflix.mediaclient");
  //the uri
  Uri uri = Uri.parse("http://movies.netflix.com/WiPlayer?movieid=70266228&amp;trkid=13462049&amp;ctx=0%2C1%2Ce2bd7b74-6743-4d5e-864f-1cc2568ba0da-61921755");
  intent.setData(uri);
  //launches but does not go to the video
  startActivity(intent);
  </code></pre>
  
  <p>I've also tried using the URI protocol in the link above like so:</p>
  
  <pre><code>Uri uri = Uri.parse("nflx://movies.netflix.com/WiPlayer?movieid=70266228&amp;trkid=13462049&amp;ctx=0%2C1%2Ce2bd7b74-6743-4d5e-864f-1cc2568ba0da-61921755");
  </code></pre>
  
  <p>but still am not seeing the video play.</p>
  
  <p>I feel like I am missing something simple here, although I have had very little luck Googling for this, I could find next to nothing about starting the Netflix Android app from another application. The Netflix developer resources don't have any info on this. </p>
  
  <p>Does anyone have any suggestions on how I can do this or where I should be looking for documentation on this? Any help would be appreciated. Thanks much!</p>