I am in the process of learning android TV programming. I want to get the hardware needed ready. However on the website http://developer.android.com/training/tv/start/start.html I can only find the guideline to run on emulator. I am curious how can I run an app on an real TV.
When developing for android phone. I need to use a usb cable to connect to the phone and enable usb debugging on the phone. What about running on TV?
And what features need the TV have? I assume the TV need some smart feature and some kind of android runtime platform. How can I facilitate this?
If I don't have any smart TV, can I use a non-smart TV with some interface to do developing?
Step 1: Connect your Android TVIf Android TV is built into your TV, plug it into an outlet and turn it on, then skip to step 2. If you have a separate Android TV device, you'll need to connect it to your TV monitor: Turn off your TV or monitor. Connect your Android TV device to your TV or monitor with the HDMI cable.
How do I download APK files to my smart TV? You can't unless its an android tv. Its an install file only useable on android. If the tv is android stick in a usb drive have the tv format it then use that usb drive to move the file.
One of the great things about having a smart TV rather than a standard television is that you can install new apps and software to unlock expanded functionality. And, now that most smart TVs run on the Android platform, there are more apps than ever available for these devices.
When you connect your android TV/Box to a network through wifi/LAN Cable, go to network settings-get the advanced options-select ip settings-chose static ip address. give a static ip for example 10.10.14.219 save it. then go to your studio terminal- type 'yum install adb' press enter after the installation process -in terminal -
'adb kill-server'
press enter then
'adb start-server'
press enter.then
'adb connect 10.10.14.219'
your device will be connected to the studio. then you can run the application directly to TV/box as like you do in the mobile with usb.
What about running on TV?
That documentation is for Android TV. You need an Android TV device, such as the Nexus Player.
And what features need the TV have?
That will depend upon your Android TV device. If the Android TV device is separate from the TV, like the Nexus Player, you need whatever the Android TV device says you need (usually, just an HDMI port). There are supposed to be TVs coming up that have Android TV as part of the TV itself, but I do not know if there are any such TVs available today.
I use a non-smart TV with some interface to do developing?
You can buy an Android TV "set-top box", like the Nexus Player.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With