html5 video source code [closed]
- by Jeeva Nandhan
!DOCTYPE html
This is my vid.html file and my video1.js file is given below
the .java file is
public class MyWebAppActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
WebView myWeb=(WebView) findViewById(R.id.webView1);
myWeb.getSettings().setJavaScriptEnabled(true);
myWeb.setWebChromeClient(new WebChromeClient());
myWeb.loadUrl("file:///android_assets/www/vid.html");}}
Am receiving an error in emulator that Web page not available in the file:///android_assets/www/vid.html