title: How to load local images with webview on Android 11.0？
body: <p>How to use the WebView to load the local storage pictures on Android 11.0？</p>
  <p>There is a richtext :</p>
  <pre><code>&lt;img src=&quot;/storage/emulated/0/Pictures/IMG_20210604_110651.jpg&quot; alt=&quot;dachshund&quot; width=&quot;100%&quot;&gt;&lt;br&gt;&lt;br&gt;
  </code></pre>
  <p>/storage/emulated/0/Pictures/IMG_20210604_110651.jpg is a local image.</p>
  <p>This is part code of how to load the image:</p>
  <pre><code>String data = &quot;&lt;img src=\&quot;/storage/emulated/0/Pictures/IMG_20210604_110651.jpg\&quot; alt=\&quot;dachshund\&quot; width=\&quot;100%\&quot;&gt;&lt;br&gt;&lt;br&gt;&quot;;
  binding.webView.loadDataWithBaseURL(null, data, &quot;text/html&quot;, &quot;utf-8&quot;, null);
  </code></pre>
  <p>My code could work Under android 10 and 10，but not work in Android 11.</p>
  <pre><code>&lt;uses-permission android:name=&quot;android.permission.READ_EXTERNAL_STORAGE&quot; /&gt;
  &lt;uses-permission android:name=&quot;android.permission.WRITE_EXTERNAL_STORAGE&quot; /&gt;
  &lt;uses-permission android:name=&quot;android.permission.MANAGE_EXTERNAL_STORAGE&quot; /&gt;
  </code></pre>
  <p>These permissions have been obtained.</p>
  <p>Any help Thanks in advance.</p>