title: How to Open Any Website in Android Application in Android Studio
body: <p>I just started a new appliction using android studio .. but i need to open a web page in my application i tried using web view but it doesnt worked out... when i open my app it crashes down</p>
  <pre><code>&lt;WebView
      android:id=&quot;@+id/web_view&quot;
      android:layout_width=&quot;fill_parent&quot;
      android:layout_height=&quot;fill_parent&quot; /&gt;
  </code></pre>
  <p>and i included in java class file</p>
  <pre><code>private  WebView wb;
  
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
  
   wb=(WebView)findViewById(R.id.web_view);
      WebSettings webSettings=wb.getSettings();
      webSettings.setJavaScriptEnabled(true);
      wb.loadUrl(&quot;https://www.google.co.in&quot;);
  
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_references);
  }
  </code></pre>
  <p>In manifest xml file i included</p>
  <pre><code>&lt;uses-permission android:name=&quot;android.permission.INTERNET&quot;/&gt;
  </code></pre>
  <p>but still my app crashes pllzz help me</p>
  <h1>android #android-studio</h1>