How to prevent a ScrollView from scrolling to a WebView after data is loaded?

Standard

You should create new class extend ScrollView, then Override requestChildFocus:

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.webkit.WebView;
import android.widget.ScrollView;

public class MyScrollView extends ScrollView {

 public MyScrollView(Context context, AttributeSet attrs, int defStyle) {
 super(context, attrs, defStyle);
 // TODO Auto-generated constructor stub
 }

 public MyScrollView(Context context, AttributeSet attrs) {
 super(context, attrs);
 // TODO Auto-generated constructor stub
 }

 public MyScrollView(Context context) {
 super(context);
 // TODO Auto-generated constructor stub
 }

 @Override
 public void requestChildFocus(View child, View focused) {
 if (focused instanceof WebView)
 return;
 super.requestChildFocus(child, focused);
 }
}

Flash video not displaying in WebView for Android ics

Standard

Just set your WebView plugin state on:

webview.getSettings().setPluginState(PluginState.ON);

put your swf file in assets folder and open it in WebView some thing like this:

webview.loadUrl("file:///android_asset/test.swf");

and simply add this to the tag under your Applications Manifest XML:

android:hardwareAccelerated="true"

How to transparent Android WebView

Standard

First of all you have to make a transparent background in html code:

String webData = StringHelper.addSlashes("<!DOCTYPE html>
<head>
<meta http-equiv=\"Content-Type\" " +
 "content=\"text/html; charset=utf-8\"> 
</head>
<body>
<div style=\"background-color: rgba(0,0,0,1.0); ">
 your webpage details...
</div>
</body>
</html>");

and then:

webView = (WebView) findViewById(R.id.webview);
webView.setBackgroundColor(0);
webView.loadData(webData, "text/html", "UTF-8");