I wanted the same, so I spent some time digging. It had to be possible because Netflix series and movies show up in the Android TV launcher search results and can be launched from there. Apparently there are intent extras in that intent and they are the missing piece. The biggest problem was that there is no easy way to capture those intent extras (logcat doesn't show the extras), still I found a way. The following code does what you want: Intent netflix = new Intent(); netflix.setAction(Intent.ACTION_VIEW); netflix.setData(Uri.parse("http://www.netflix.com/watch/70202141")); netflix.putExtra("source","30"); // careful: String, not int netflix.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK|Intent.FLAG_ACTIVITY_CLEAR_TASK); getActivity().startActivity(netflix);Alternatively, through adb: adb shell am start -c android.intent.category.LEANBACK_LAUNCHER -a android.intent.action.VIEW -d -f 0x10808000 -e source 30 com.netflix.ninja/.MainActivityThis way I can launch right into a movie or series and it automatically starts playing. To launch into the screen without automatic playback, use /title/ instead of /watch/. Tested on netflix ninja 3.3.1 build 1513 for Android TV on arm. (责任编辑:) |