yYes...you should enable javacsript.. 2011/9/23, Chirag Raval <[email protected]>: > Hi Shital > > Please try below code. > > WebView mWebView=(WebView)findViewById(R.id.mWebView); > > mWebView.loadUrl("file:///android_asset/html/raj.html"); > mWebView.getSettings().setJavaScriptEnabled(true); > mWebView.getSettings().setSaveFormData(true); > mWebView.getSettings().setBuiltInZoomControls(true); > mWebView.setWebViewClient(new MyWebViewClient()); > > private class MyWebViewClient extends WebViewClient > { > @Override > //show the web page in webview but not in web browser > public boolean shouldOverrideUrlLoading(WebView view, String url) { > view.loadUrl (url); > return true; > } > } > > > > > On Fri, Sep 23, 2011 at 5:07 PM, shital suryawanshi > <[email protected]> wrote: >> >> WebView mWebView =(WebView) findViewById(R.id.webView1); >> mWebView.loadUrl("file:///android_asset/html/raj.html"); >> >> this my code >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

