Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Also added this is manifest android:hardwareAccelerated="true". Not sure if it helps.</p> <p>The below code worked for me. Try this.</p> <pre><code>public class MainActivity extends Activity { WebView wv; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); wv= (WebView) findViewById(R.id.wv); wv.getSettings().setPluginsEnabled(true); WebSettings webSettings = wv.getSettings(); webSettings.setJavaScriptEnabled(true); wv.getSettings().setDomStorageEnabled(true); wv.setWebViewClient(new MyOwnWebViewClient()); wv.loadUrl("http://surveyanyplace.com/s/pozitiemers/"); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.activity_main, menu); return true; } class MyOwnWebViewClient extends WebViewClient { @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { view.loadUrl("http://surveyanyplace.com/s/pozitiemers/"); return true; } } </code></pre> <p>activity_main.xml</p> <pre><code>&lt;LinearLayout 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" tools:context=".MainActivity" &gt; &lt;WebView android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@+id/wv"&gt;&lt;/WebView&gt; &lt;/LinearLayout&gt; </code></pre> <p>Resulting snap shot</p> <p><img src="https://i.stack.imgur.com/O6xTe.png" alt="enter image description here"></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload