title: Android HTML Phone Link err_unknown_url_scheme
body: <p>I'm implementing what would seem to be an extremely simple solution on a stock Nexus 5 with 5.5.1/Lollipop but having difficulty. I wish to store a local HTML page directly on the phone to hold large lists of reference phone numbers:</p>
  
  <pre><code>&lt;a href="tel:123-456-7890"&gt;Call Harold's Chicken Shack&lt;/a&gt;
  &lt;a href="tel:234-567-8901"&gt;Call In n' Out Burger&lt;/a&gt;
  </code></pre>
  
  <p>This used to work without any issues, but sometime earlier this year an Android update disabled it. Before, clicking the link would open the dialer on the phone and start a call to the number. Now, another webpage is shown titled "Webpage not available" and containing "The webpage at tel:123-456-7890 could not be loaded because: net::ERR_UNKNOWN_URL_SCHEME" in the body.</p>
  
  <p>I've googled this extensively but remain unclear on the solution.</p>
  
  <p>This problem is discussed here on:
  <br><a href="https://stackoverflow.com/questions/24697429">Getting net::ERR_UNKNOWN_URL_SCHEME while calling telephone number from HTML page in Android</a>
  <br>but all the responses on that question seem to be either incorrect or describing a solution that isn't referenced.</p>
  
  <p>Some people suggest various formatting changes to the phone number:</p>
  
  <pre><code>&lt;a href="tel:123-456-7890"&gt;Call Harold's Chicken Shack&lt;/a&gt;
  &lt;a href="tel:1234567890"&gt;Call Harold's Chicken Shack&lt;/a&gt;
  &lt;a href="tel:+123-456-7890"&gt;Call Harold's Chicken Shack&lt;/a&gt;
  &lt;a href="tel:+1234567890"&gt;Call Harold's Chicken Shack&lt;/a&gt;
  </code></pre>
  
  <p>However, the problem seems unaffected by hyphens or the + symbol.</p>
  
  <p>Next, some people suggested setting a target for the link:</p>
  
  <pre><code>&lt;a href="tel:123-456-7890"&gt;Call Harold's Chicken Shack&lt;/a&gt;
  &lt;a href="tel:123-456-7890" target="_blank"&gt;Call Harold's Chicken Shack&lt;/a&gt;
  </code></pre>
  
  <p>This also makes no difference in my testing. It would appear that some people feel this would work if the HTML page being used is in a frame. Just to be clear, the HTML page I am using is a single page, not inside a frame set, and stored locally on the phone.</p>
  
  <p>Some comments seem to discuss different browsers. I am targeting stock Android 5.5.1/Lollipop WebView / HTML Viewer. I can actually confirm that the original code:</p>
  
  <pre><code>&lt;a href="tel:123-456-7890"&gt;Call Harold's Chicken Shack&lt;/a&gt;
  </code></pre>
  
  <p>will work correctly if opened in a number of third-party browsers. However, I am seeking a stock solution here.</p>
  
  <p>A number of comments seem to indicate that special permissions need to be set, but there's no indication on where the files even are and I've been unable to find them at all, much less modify them. That makes me wonder if their permissions-related suggestions are even an option on a stock/unrooted Android device.</p>
  
  <p>So, in summary, if you want to have a LOCALLY stored HTML page on your Android phone (not a script, not an app, not even an HTML page that is running JavaScript or something, ONLY a simple local HTML page with an "a href=" link that will put a phone number into the dialer when clicked...) how can this be done?</p>
  
  <p>Thanks for your assistance.</p>