googlesamples / androidtv-sample-inputs

Sample Channel App (TV Input Service) on Android TV using TIF
https://developer.android.com/training/tv/tif
Apache License 2.0
490 stars 239 forks source link

How to use the internal tv tuner #27

Open ssaguiar opened 6 years ago

ssaguiar commented 6 years ago

I wish to know if it's possible to use this app with the android device's internal tv tuner, and, if possible, how to do it. I am seeking for any code to test and understand how to do it, but haven't found any help anywhere.

Thanks for any help

Fleker commented 6 years ago

This is not available to 3P developers.

MBakhshi96 commented 6 years ago

you mean it is not possible to stream from internal tuner in Android TV ?

Fleker commented 6 years ago

If your Android TV has an internal tuner, you can stream content using the system TV app. However, that stream is not available for a third-party developer to use in their own application.

MBakhshi96 commented 6 years ago

You mean without any input service app streaming is possible? or we must develop an input service similar to app in this repo?

Fleker commented 6 years ago

As a developer, you can pull streaming media from your own service and make that available to the system TV app through the TV input framework as this sample does.

You, as a developer, cannot read content from the TV's internal tuner.

coolm1 commented 4 years ago

Then how this app works?

app calls some actions to switch the source so even if you have switched to a source, you are still inside the app -> how??

They are reading the TV input source such as HDMI, AV etc.

How do they do it?

fungi8210 commented 3 years ago

Then how this app works?

app calls some actions to switch the source so even if you have switched to a source, you are still inside the app -> how??

They are reading the TV input source such as HDMI, AV etc.

How do they do it?

Could not download/install it, are they unbundled or are they only putting it in Google Play just so user can update their apk for their system permission app?

My best guess is that sensy app was built in to some TV manufacturer's ROM (with system key), and the app on the Play Store is just for update purpose.