title: In WebView when i am using wi fi the page is not loading but when i do turn on my data connection then it's work?
body: <p>My problem is that when i am using the data connection of my phone and load the web view then its work. but when i do turn on wifi and turn off the data connection of my phone. web view is not load.My question is There is a need of another permission for the  wifi ?</p>
  
  <p>This is my MainActivity :-</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  
      private Button mBtnSubmit;
      private WebView mWebView;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          mBtnSubmit = (Button) findViewById(R.id.submit);
          mWebView = (WebView) findViewById(R.id.webview);
  
  
          mBtnSubmit.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View view) {
  
                  mWebView.loadUrl("https://www.facebook.com/rvcjofficial/?ref=br_rs");
  
              }
          });
  
  
      }
  }
  </code></pre>
  
  <p>This is my Manifest :-</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.aaa.webviewexample"&gt;
  
      &lt;uses-permission android:name="android.permission.INTERNET"&gt;&lt;/uses-permission&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE"&gt;&lt;/uses-permission&gt;
  
  
      &lt;application
          android:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:supportsRtl="true"
          android:theme="@style/AppTheme"&gt;
          &lt;activity android:name=".MainActivity"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>I given the permission of the wifi afterthat when i am using wifi the page is not loading.Can anyone tell me what is the problem ?</p>