How to build a simple video streaming Android TV App using WebView in Android Studio?

preview_player
Показать описание


Complete source code and other details/ steps of this video are posted in the below link:

However, the main Java code is copied below also for reference:

public class MainActivity extends AppCompatActivity {
private WebView webView;

@Override
protected void onCreate(Bundle savedInstanceState) {

}

public void buttonPlayVideo(View view){
}
}

--
Рекомендации по теме
Комментарии
Автор

why are you not set banner and leanback launcher? the app will not going to shown on TV

hakimapg
Автор

this in only ine play video can u add one or more button and play different content

pankaj
Автор

The same tutorial but can you make it to play multiple videos in JSON in recyclerview ?

I do have App playing TV channels in JSON but i want to integrate also webView

Thanks also for the tutorial ❤❤

CONGOMONPAYSTV
Автор

hi sir. Have you ever uploaded this app to Google Play? If so, can these apps support various Smart TVs or Android TVs or STBs?

abangm
Автор

I want to create a soccer streaming app that can be updated From admin enda please create a tutorial and tag me

DjLove
Автор

thanks but i try and try never got it right always errors

nelsonfernandez
Автор

please share the tutorial to port/convert mobile apk to android tv apk,

I want to learn and try convert streaming platform video based webview too to android tv

awesome video, thank you so much

faqihudinpratama
join shbcf.ru