title: Loading local html file in webView android
body: <p>I have to load an existing html file into a <code>WebView</code> that is located at this path in the file system: </p>
  
  <pre><code>/data/data/com.example.example/files/file.html
  </code></pre>
  
  <p>But, when the <code>WebView</code> loads it, I don't see anything.
  Who can help me? </p>
  
  <p><code>WebView</code> code (assuming path is the path I've written above):</p>
  
  <pre><code> WebView webView = (WebView)findViewById(R.id.webView1);
  
    File htmlFile = new File(path);
      if(htmlFile.exists())
      {
          webView.loadUrl(htmlFile.getAbsolutePath());
  
      }
  </code></pre>