I've got a small application that display stream from server to webView. I've installed it to my phone and it works properly, but when i compile it on tv box my WebView doesn't displayed.I've install android WebView from google play but it doesn't help.
Android TV box x96.
Just in case my code:
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.activity_main);
String url = "https://www.google.com.ua";
WebView webView = (WebView) findViewById(R.id.wevView);
webView.getSettings().setJavaScriptEnabled(true);
webView.loadUrl(url);
}
Xml
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/wevView">