title: Conflict between Windows and Android?
body: <p>Please help me solve this file path conflict:</p>
  
  <p>As you know, many HTML pages use relative paths starting with a "/" for the href attribute of <strong>link</strong> tags. For example: <code>link href="/links/style.css"</code>. </p>
  
  <p>In my code, I'm using <a href="http://developer.android.com/reference/android/webkit/WebView.html#loadDataWithBaseURL%28java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String%29" rel="nofollow">loadDataWithBaseURL</a> for a WebView to set a relative path name. If I give like this:</p>
  
  <pre><code>String webContent=//whole html page;
  mWebView.loadDataWithBaseURL("file:///sdcard/mibook/pg90/",new String(webContent), "text/html", "UTF-8","" );
  </code></pre>
  
  <p>Result: No effect in WebView because (I felt) it takes two <strong>'/'</strong> while appending to pathname.</p>
  
  <p>If I edit my HTML page by removing the first <strong>"/"</strong> from the href tag, then the WebView renders properly.</p>
  
  <p>But my problem is that I don't want to edit HTML content as above. Any solution?</p>