i am able to open google.com from emulator browser.but in coding i am not able to show any thing.that is my code.i already write internet permission.any extra emulator setting?
public class TestActivity extends Activity { WebView webview; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); System.setProperty("http.proxyHost","192.168.0.2"); System.setProperty("http.proxyPort","8080"); webview = (WebView) findViewById(R.id.webview); webview.getSettings().setJavaScriptEnabled(true); webview.loadUrl("http://www.google.com"); } }