---
title: "Discussion on \"Apple TV And Android TV: One Codebase, And CSS @media For The Living Room\" | Hashnode"
description: "Discussion on \"Apple TV And Android TV: One Codebase, And CSS @media For The Living Room\". Codename One now treats TV as a first-class form factor with CN.isTV(), runtime device-tv and device-watch CSS @media variants, an Android TV APK via the android.tv build hint, and a separate tvOS Metal target built by TvNativeBuilder."
url: "https://hashnode.com/posts/apple-tv-and-android-tv-one-codebase-and-css-media-for-the-living-room/6a4d14ba7262c48cbf4fbc97"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Apple TV And Android TV: One Codebase, And CSS @media For The Living Room](https://debugagent.com/apple-tv-and-android-tv-one-codebase-and-css-media-for-the-living-room?utm_source=hashnode&utm_medium=feed)

Codename One now treats TV as a first-class form factor with CN.isTV(), runtime device-tv and device-watch CSS @media variants, an Android TV APK via the android.tv build hint, and a separate tvOS Metal target built by TvNativeBuilder.

Jul 7 · 5 min read · debugagent.com  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#mobile-development](https://hashnode.com/tag/mobile-development)
-   [#ios](https://hashnode.com/tag/ios)
-   [#android](https://hashnode.com/tag/android)
-   [#opensource](https://hashnode.com/tag/opensource)

## Written by

[Shai Almog](https://hashnode.com/@codenameone)

@codenameone

  
[View profile](https://hashnode.com/@codenameone)

25 years ago I was lucky. I faced my debugging ignorance. It's a skill we don't learn at school. Hopefully I can help you reach a similar ep

Entrepreneur, author, blogger, open source hacker, speaker, Java rockstar, developer advocate and more. ex-Sun/Oracle guy with 30 years of professional development experience. Shai built virtual machines, development tools, mobile phone environments, banking systems, startup/enterprise backends, user interfaces, development frameworks and much more. Shai is an award winning highly rated speaker with a knack for engaging the audience and deep technical chops.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
