Android WebView Not showing Anything
<p>I am trying to use webView to show a URL in android app.</p>

<p>If I try with this URL-</p>

<blockquote>
  <p><a href="http://stackoverflow.com">http://stackoverflow.com</a></p>
</blockquote>

<p>I am getting this-
<a href="https://i.stack.imgur.com/DGL3C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DGL3C.png" alt="enter image description here"></a></p>

<p>But if I am trying with this-</p>

<blockquote>
  <p><a href="https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Fplaylists%2F8111706%3Fsecret_token%3Ds-3aK27&amp;color=e2ef3a&amp;auto_play=false&amp;show_artwork=false" rel="nofollow noreferrer">https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Fplaylists%2F8111706%3Fsecret_token%3Ds-3aK27&amp;color=e2ef3a&amp;auto_play=false&amp;show_artwork=false</a></p>
</blockquote>

<p>I am getting this-</p>

<p><a href="https://i.stack.imgur.com/r6G9k.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r6G9k.png" alt="enter image description here"></a></p>

<p>What I have done is-</p>

<p><strong>Activity</strong>-</p>

<pre><code>package com.appnucleus.abrarjahin.hello8920;

import android.content.Context;
import android.net.ConnectivityManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebView;
import android.widget.Toast;

public class ActivityMain extends AppCompatActivity
{
    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        if ( isNetworkAvailable() )     //check if internet available or not
        {
            Toast.makeText(
                                ActivityMain.this,
                                "Internet Connected",
                                Toast.LENGTH_LONG
                            ).show();
            WebView webview = (WebView)findViewById(R.id.webView);
            webview.getSettings().setJavaScriptEnabled(true);
            webview.loadUrl(getString(R.string.sound_cloud_url));
        }
        else    //Not connected
        {
            Toast.makeText(
                    ActivityMain.this,
                    "Internet Disconnected",
                    Toast.LENGTH_LONG
            ).show();
        }
    }

    //&lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
    //&lt;uses-permission android:name="android.permission.INTERNET"/&gt;
    public boolean isNetworkAvailable()
    {
        final ConnectivityManager connectivityManager = ((ConnectivityManager) getApplicationContext().getSystemService(Context.CONNECTIVITY_SERVICE));
        return connectivityManager.getActiveNetworkInfo() != null &amp;&amp; connectivityManager.getActiveNetworkInfo().isConnected();
    }
}
</code></pre>

<p><strong>Layout</strong>-</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context="com.appnucleus.abrarjahin.hello8920.ActivityMain"&gt;

    &lt;WebView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/webView"
        android:layout_alignParentTop="true"
        android:layout_alignParentBottom="true"
        android:layout_alignParentRight="true"
        android:layout_alignParentEnd="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true" /&gt;
&lt;/RelativeLayout&gt;
</code></pre>

<p><strong>strings.xml</strong>-</p>

<pre><code>&lt;resources&gt;
    &lt;string name="app_name" translatable="false"&gt;Hello 8920&lt;/string&gt;
    &lt;string name="sound_cloud_url"&gt;https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Fplaylists%2F8111706%3Fsecret_token%3Ds-3aK27&amp;amp;color=e2ef3a&amp;amp;auto_play=false&amp;amp;show_artwork=false&lt;/string&gt;
    &lt;string name="test_url"&gt;http://stackoverflow.com/&lt;/string&gt;
&lt;/resources&gt;
</code></pre>

<p><strong>AndroidManifest.xml</strong>-</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.appnucleus.abrarjahin.hello8920"&gt;

    &lt;uses-permission android:name="android.permission.INTERNET"/&gt;
    &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&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=".ActivityMain"&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>Can anyone please help why I am getting a blank page?</p>