title: How to show native google map in webview in android?
body: <p>I have the following code to show webview : </p>
  
  <p><strong>webview.xml</strong>  </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;WebView xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/webView1"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent" /&gt;
  </code></pre>
  
  <p><strong>WebViewActivity.java</strong></p>
  
  <pre><code>public class WebViewActivity extends Activity {
  
      private WebView webView;
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.webview);
  
          webView = (WebView) findViewById(R.id.webView1);
          webView.getSettings().setJavaScriptEnabled(true);
          webView.setWebViewClient(new WebViewClient());
          webView.loadUrl("http://maps.google.com/maps?" +"saddr=43.0054446,-87.9678884" + "&amp;daddr=42.9257104,-88.0508355");
      }
  }
  </code></pre>
  
  <p><strong>I want to open following code in WebView:</strong></p>
  
  <pre><code>final Intent intent = new Intent(Intent.ACTION_VIEW,
  Uri.parse("http://maps.google.com/maps?" + "saddr=43.0054446,-87.9678884" + "&amp;daddr=42.9257104,-88.0508355"));
  intent.setClassName("com.google.android.apps.maps",
  "com.google.android.maps.MapsActivity");
  startActivity(intent);
  </code></pre>
  
  <p>How can i do this?</p>