I am using cordova. I want assign cordova webView to native android webView and pass that native webView as parameter.CalledClass.calledMethod((WebView)MainActivity.appWebView);
My MainActivity class: here I am getting cordovaWebView.
public class MainActivity extends CordovaActivity
{
    static CordovaWebView appWebView;
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        // Set by <content src="index.html" /> in config.xml
        loadUrl(launchUrl);
    }
    @Override
    public CordovaWebView makeWebView(){
        appWebView=super.makeWebView();
        return appWebView;
    }
But when I do this it throws classcast exception. Please help. Thanks in advance.
 
    