explaingit

hxh19950701/webviewtvlive

4,764KotlinAudience · generalComplexity · 3/5LicenseSetup · moderate

TLDR

An Android app that loads live TV broadcasts from broadcaster websites directly inside the app using a browser component, supporting phones, tablets, smart TVs, and car displays.

Mindmap

mindmap
  root((webviewtvlive))
    What it does
      Loads TV websites
      Channel switching
      Auto-updates list
    Platforms
      Phone and tablet
      Smart TV
      Car display
    Tech stack
      Kotlin Android
      X5 WebView engine
    Limitations
      No quality control
      Region restrictions
      Needs capable device
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Watch Chinese live TV broadcasts on an Android phone, tablet, or smart TV without a separate media player app.

USE CASE 2

Build an Android app that loads live stream websites inside a WebView with channel list auto-updates.

USE CASE 3

Study how to add remote-control key navigation to an Android TV app written in Kotlin.

Tech stack

KotlinAndroidWebViewX5 WebView

Getting it running

Difficulty · moderate Time to first run · 1h+

Requires Android 5.0+, quad-core CPU, 2 GB RAM, and an up-to-date WebView component on the device.

Source shared for learning only, commercial use and redistribution of repackaged versions are not permitted.

In plain English

WebViewTvLive is an Android app for watching live television broadcasts, built using a browser component called WebView. The idea behind it is straightforward: instead of building a custom video player from scratch, the app opens the official broadcast websites of TV stations directly inside the application. This means the streams come from the original source and tend to be stable, since they are the same links the broadcaster publishes publicly. The app is designed to work on multiple form factors: phones, tablets, televisions, and in-car displays. It supports navigating channels using number keys on a remote control as well as up and down keys, and multiple stream sources are available for each channel. A channel list that updates automatically is included, so users do not need to manage their own playlist manually. There are some practical limitations noted in the README. Because the app uses a browser-based approach rather than a dedicated media player, it requires a reasonably capable Android device: at least a quad-core processor, 2 GB of memory, Android 5.0, and a reasonably current version of the WebView component. Channel loading takes a moment since the app is essentially loading a webpage. Video quality and frame rate cannot be chosen manually, and some programs may not be available due to broadcasting rights restrictions tied to region. The app uses Tencent's X5 WebView engine, which is an alternative to the standard Android WebView and tends to handle media-heavy web pages better on Chinese Android devices. The README notes that the source code was archived at version 1.6 due to the difficult open-source environment in mainland China. The code is shared for learning and discussion purposes. Redistribution or commercial use of repackaged versions is not permitted.

Copy-paste prompts

Prompt 1
Using the webviewtvlive approach, help me build an Android app that loads a live stream URL inside a WebView with up/down channel switching.
Prompt 2
Show me how to integrate Tencent X5 WebView into an Android Kotlin app for better media-heavy page support.
Prompt 3
Help me add remote-control number-key and directional-key navigation to an Android TV app in Kotlin.
Prompt 4
Help me implement an auto-updating channel list in Android that fetches a remote playlist and refreshes without user action.
Open on GitHub → Explain another repo

← hxh19950701 on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.