Click here to Skip to main content
15,879,184 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I tried to use webview but I failed

My website is: http://svusurvey.somee.com/login.aspx


I used this code:

  WebView w=(WebView)findViewById(R.id.webView1);
  WebSettings set=w.getSettings();
  set.setJavaScriptEnabled(true);
 set.setLoadWithOverviewMode(true);
set.setUseWideViewPort(true);
  w.loadUrl("http://svusurvey.somee.com/login.aspx");


It always shows error in page!
Posted

1 solution

WebView w=(WebView)findViewById(R.id.webView1);
WebSettings set=w.getSettings();
set.setJavaScriptEnabled(true);
set.setLoadWithOverviewMode(true);
set.setUseWideViewPort(true);
w.loadUrl("http://svusurvey.somee.com/login.aspx");
 
Share this answer
 
Comments
Y.Ahmad 18-Aug-14 9:21am    
Where's the modifying?
It didn't work..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900