Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run an android TV app on real TV

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?

like image 837
darklord Avatar asked Feb 25 '15 17:02

darklord


People also ask

Can I put Android TV on my TV?

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.

Can I install APK on non Android TV?

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.

Can I run Android apps on smart TV?

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.


2 Answers

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.

like image 146
Cecil Paul Avatar answered Oct 18 '22 18:10

Cecil Paul


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.

like image 3
CommonsWare Avatar answered Oct 18 '22 18:10

CommonsWare