1 Star 0 Fork 159

hulh / Android_tv_libs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Android_tv_libs

android tv 相关的库,包括界面开发,播放器等等的收集,

我并无法保证全部加入,必定会遗漏一些优秀的TV相关的库,

欢迎大家一起往里面添砖加瓦.

TV开发 QQ群:522186932

android tv交流网站: www.androidtvdev.com

android tv文章专题:https://www.jianshu.com/c/37efc6e9799b

一. 控件

Leanback相关:

1.谷歌 leanback demo

项目地址:https://github.com/googlesamples/leanback-showcase

谷歌原生的 leanback demo,看完此demo,基本就懂如何使用了.

leanback很灵活,主要是MVP的思想.

2.V14Leanback

项目地址:https://github.com/DukerSunny/V14Leanback

该项目主要是将leanback代码复制出来了.

一个适用于Android TV端的分页加载列表库,控件继承自RecyclerView,部分源码抽取自Google Support v17 Leanback包下源码,可兼容低版本环境。

3.Leanback修改代码

项目地址:https://github.com/FrozenFreeFall/Leanback_tv_widget

项目只修改了一些代码.

5. BrowseFragment 自定义

项目地址:https://github.com/dextorer/Sofa

A library for Android TV that extends the Leanback library functionalities

对 Leanback 库的BrowseFragment 进行自定义,让一个 Header对应一个页面。不过最新 Leanback 库已经支持该功能。

4.TwoWayView

项目地址:https://github.com/lucasr/twoway-view

此项目可以配合leanback使用,嵌入1 N 布局,需要修改leanback源码.

RecyclerView相关:

1. CustomTvRecyclerView

项目地址:https://github.com/songwenju/CustomTvRecyclerView

该项目实现了 RecyclerView 按键翻页效果,可以参考代码并使用.

2. TVRecyclerView

项目地址:https://github.com/Fredlxy/TVRecyclerView

封装过的RecyclerView,用于TV开发,

3. TvRecyclerView--针对TV端特性进行的适配与开发

项目地址:https://github.com/zhousuqiang/TvRecyclerView

此项目在TwoWayView的基础上进行的改进,支持焦点快速移动,支持Item选中放大时不被叠压(无需手动调用bringChildToFront()),支持横/竖排列,支持设置选中Item边缘距离/居中,支持设置横竖间距,Item监听回调

4. TvRecyclerView

项目地址:https://github.com/henryblue/TvRecyclerView

用在android TV端的自定义recyclerView控件, 不支持手机端.

4. VLayout

项目地址:https://github.com/FrozenFreeFall/vlayout

这么说的,虽然只是移动端,并不支持TV端,但是此控件的思想不错,也避免了leanback在低配机器耗性能的问题(Recyclerview嵌套),修改支持TV端,是一个神器.

适配库:

1. AutoLayout

项目地址:https://gitee.com/kumei/AndroidAutoLayout

TV开源社区修改版本,为了支持没有的控件.

使用的很简单,添加设计图分辨率,使用PX... ...

2.SupportMultipleScreensUtil

项目地址:https://github.com/baixiaoY/SupportMultipleScreensUtil

调用方便,只需要调用它的转换函数就OK了.

###3.工具生成values

工具地址:https://gitee.com/kumei/AndroidTVWidget/tree/master/Tool

这种方式不建议使用了,新出的机型分辨率需要重新生成,pass吧.

4.ConstraintLayout

Android新出的约束,也可以用于部分适配,还是不错,也能优化界面的布局,避免嵌套太深.

TV框架:

###1. Android tv metro

项目地址:https://gitee.com/kumei/android_tv_metro

此项目由开源社区修改,可编译版本,并添加了代码分析注释,原始源码自行下载.

在此重点说明下:tv metro的架构思想和部分代码是很有参考价值的,布局是动态生成的.

2. Android tv frame

项目地址:https://gitee.com/kumei/AndroidTVWidget

最新项目重构地址:https://gitee.com/kumei/android-tv-frame-new

此项目包含了 移动边框,键盘,listview, gridview, recylerview等等

3. tv widget

项目地址:https://github.com/evilbinary/TvWidget

此项目可以库使用,也可以作为代码学习,还是不错.

3.移动边框BorderViewDemo

项目地址:https://github.com/lf8289/BorderViewDemo

Launcher源码:

1. SMTVLauncher

项目地址:https://github.com/FrozenFreeFall/SMTVLauncher

2. AndroidTVLauncher

项目地址:https://github.com/JackyAndroid/AndroidTVLauncher

此项目基于 Leanback,可以参考参考别人使用leanback的代码.

3. TVSample

项目地址:https://github.com/hejunlin2013/TVSample

两个 TV Launcher 页面例子:

1、仿泰捷视频最新TV版 Metro UI。

2.仿腾讯视频 TV 版(云视听·极光) 列表页(用 RecycleView + GridLayoutManager 实现)

![](https://github.com/hejunlin2013/TVSample/raw/master/images/device-2016-10-13-191954.png)

其它View相关:

1.阴影控件

项目地址:https://github.com/yingLanNull/ShadowImageView

二. 播放器

1.UPYUN Android 流媒体播放器

项目地址:https://github.com/upyun/android-player-sdk

android-player-sdk 是一个适用于 Android 平台的影音播发器 SDK ,基于 ijkplayer ( based on ffplay ),可高速定制化和二次开发,为 Android 开发者提供简单,快捷的接口。

2.GSYVideoPlayer

项目地址:https://github.com/CarGuo/GSYVideoPlayer

视频播放器(IJKplayer),HTTPS支持,支持弹幕,支持滤镜、水印、gif截图,片头广告、中间广告,多个同时播放,支持基本的拖动,声音、亮度调节,支持边播边缓存,支持视频本身自带rotation的旋转(90,270之类),重力旋转与手动旋转的同步支持,支持列表播放 ,直接添加控件为封面,列表全屏动画,视频加载速度,列表小窗口支持拖动,5.0的过场效果,调整比例,多分辨率切换,支持切换播放器,进度条小窗口预览,其他一些小动画效果,rtsp、concat、mpeg。简书:http://www.jianshu.com/p/9fe377dd9750

3.ExoPlayer

项目地址:https://github.com/google/ExoPlayer/

三. TV输入法

1.台湾注音输入法,使用注音引擎,可替换拼音或者其它的引擎.

项目地址: https://gitee.com/kumei/xgimi_zhuyin_input

2. 原生的谷歌输入法,可单独编译版本.

项目地址:https://gitee.com/kumei/PinyinIME_GOOGLE

3. 英文输入法.高仿搜狗界面.

项目地址:https://gitee.com/kumei/OpenInputMethod

四. 其它

1. 反射库

项目地址:https://github.com/jOOQ/jOOR

很方便的使用反射函数,简单,高效,一行代码搞定反射调用,不用写很多代码

2.进程间通信库Hermes

项目地址:https://github.com/Xiaofei-it/Hermes-IPC-Demo

项目地址:https://github.com/Xiaofei-it/Hermes

项目地址:https://github.com/elemers/HermesEventBus 跨进程通信的eventbus

3.基于JSON RPC的一种Android跨进程调用

文章解读:https://www.jianshu.com/p/1eca5e32fad2?hmsr=toutiao.io&utm_medium=toutiao.io&utm_source=toutiao.io

项目地址:https://github.com/iqiyi/Andromeda

4. 远程控制你的智能电视,按键|输入|安装App等都已实现.

项目地址:https://github.com/NanoHttpd/nanohttpd

文章地址:https://juejin.im/post/5a9e47636fb9a028c42db81d

5. 权限管理SDK

项目地址:https://github.com/yanzhenjie/AndPermission

官方网站:http://yanzhenjie.github.io/AndPermission/cn

空文件

简介

android tv 相关的库,包括界面开发,播放器等等的收集,欢迎大家加入. 展开 收起
Android
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Android
1
https://gitee.com/huluhong/Android_tv_libs.git
git@gitee.com:huluhong/Android_tv_libs.git
huluhong
Android_tv_libs
Android_tv_libs
master

搜索帮助