8

WebTextView cannot be cast to android.view.SurfaceView

view full story
linux-howto

http://stackoverflow.com – I was set SurfaceView for webview, like that: wv.setOnHierarchyChangeListener(new ViewGroup.OnHierarchyChangeListener() { @Override public void onChildViewRemoved(View parent, View child) {} @Override public void onChildViewAdded(View parent, View child) { if(child.getClass().getName().equals("com.adobe.flashplayer.FlashPaintSurface")){ Log.i("flash", "surface is open"); ((SurfaceView)child).setZOrderOnTop(false); ((SurfaceView)child).dispatchWindowFocusChanged(isHidden()); }} }); but. (HowTos)