title: error: cannot find symbol variable Uri ANDROID
body: <p>hello i am new to android and i am having a webiste which i have converted into mobile APP just by using the <code>**web view**</code> and what i want now is a function to put into the android so that i can find all the phine numbers in the website and make it clickable and dial that number on call . </p>
  
  <p>function to call.
  i have already aded </p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.CALL_PHONE" /&gt;
  </code></pre>
  
  <p>and i have tried this in mainactivity.java</p>
  
  <pre><code>public static void linkifyTextViews(@NonNull TextView... textViews) {
      for (TextView textView : textViews) {
          Linkify.addLinks(textView, Linkify.WEB_URLS);
          textView.setMovementMethod(LinkMovementMethod.getInstance());
      }
  }
  </code></pre>
  
  <p><strong>EDITED</strong></p>
  
  <p>i have this is my mainactivity.java file</p>
  
  <pre><code>package com.business.i13bubbles;
  
  import android.support.v7.app.AppCompatActivity;
  import android.os.Bundle;
  import android.webkit.WebSettings;
  import android.webkit.WebView;
  import android.webkit.WebViewClient;
  import android.content.Intent;
  
  public class MainActivity extends AppCompatActivity {
  private WebView MywebView;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      MywebView = (WebView) findViewById(R.id.view2);
      WebSettings webSettings = MywebView.getSettings();
      webSettings.setJavaScriptEnabled(true);
      MywebView.loadUrl("http://www.13bubbles.com");
      MywebView.setWebViewClient(new WebViewClient());
  }
  
  @Override
  public void onBackPressed() {
      if (MywebView.canGoBack()) {
          MywebView.goBack();
      } else {
          super.onBackPressed();
      }
  }
  
  public boolean shouldOverrideUrlLoading(WebView view2, String url) {
      if (url.startsWith("tel:")) {
          Intent intent = new Intent(Intent.ACTION_DIAL,
                  url.parse(url));
          startActivity(intent);
      } else if (url.startsWith("http:") || url.startsWith("https:")) {
          view2.loadUrl(url);
      }
      return true;
  }
  
  }
  </code></pre>
  
  <p>and i am getting this error </p>
  
  <blockquote>
    <p>error: cannot find symbol method parse(String)    </p>
  </blockquote>
  
  <p>the id of my webview is view2</p>
  
  <p>can you help me </p>
  
  <p><strong>EDIT 2</strong></p>
  
  <p>i think the error is here in this function </p>
  
  <pre><code>public boolean shouldOverrideUrlLoading(WebView view2, String url) {
      if (url.startsWith("tel:")) {
          Intent intent = new Intent(Intent.ACTION_DIAL);
  
          // Send phone number to intent as data
          intent.setData(Uri.parse(url)); // ERROR LINE IS HERE FOR SURE 
  
          // Start the dialer app activity with number
          startActivity(intent);
      } else if (url.startsWith("http:") || url.startsWith("https:")) {
          view2.loadUrl(url);
      }
      return true;
  }
  </code></pre>
  
  <p>error: cannot find symbol variable Uri  </p>