[android-developers] .html filed loading problem.how to i will solve it
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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] .html filed loading problem.how to i will solve it
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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] .html filed loading problem.how to i will solve it
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 shital.andr...@gmail.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] .html filed loading problem.how to i will solve it
yYes...you should enable javacsript.. 2011/9/23, Chirag Raval chirag.android.develo...@gmail.com: 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 shital.andr...@gmail.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en