I saved the complete html application under Assets folder.
By passing the path of html file am able to load it from my android application in a web view.
when html pages are loading, page transition is missing. Pages are loading without animation.
Following is the code which i used
Using java Syntax Highlighting
- TextSize t = WebSettings.TextSize.SMALLEST;
- mWebView = (WebView) findViewById(R.id.webview);
- mWebView.getSettings().setJavaScriptEnabled(true);
- mWebView.getSettings().setTextSize(t);
- mWebView.getSettings().setLoadWithOverviewMode(true);
- mWebView.getSettings().setUseWideViewPort(true);
- mWebView.setInitialScale(25);
- mWebView.getSettings().setBuiltInZoomControls(true);
- mWebView.getSettings().setSupportZoom(true);
- mWebView.getSettings().enableSmoothTransition();
- mWebView.getLayoutAnimation();
- mWebView.getSettings().setDomStorageEnabled(true);
- mWebView.loadUrl("file:///android_asset/mobile/index.html");
Parsed in 0.034 seconds, using GeSHi 1.0.8.4
After using this code also there is no animation shown my html pages while loading. Can any one aware about this, please let me know how to give animation effect.
Thanks
shailaja


