Removing Header and Footer from a webpage in webview of android
<p>Hi I am trying to remove Header and footer from a third party web page. I need to show only specific parts of the webpage in android webview. I tried using Jsoup but there is</p>

<pre><code>02-19 15:59:22.041: E/AndroidRuntime(1790): FATAL EXCEPTION: main  
02-19 15:59:22.041: E/AndroidRuntime(1790): java.lang.NoClassDefFoundError: org.jsoup.Jsoup
error.


StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();

        StrictMode.setThreadPolicy(policy);
        DefaultHttpClient client=new DefaultHttpClient();
        HttpGet get=new HttpGet();
        try {
             get=new HttpGet(url.toURI());
            //HttpRequest req=new HttpGet(url.toURI());
        } catch (URISyntaxException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        HttpResponse response=null;
        try {
            response = client.execute(get);
        } catch (ClientProtocolException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        } catch (IOException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        String content = null;
        try {
            content = EntityUtils.toString(response.getEntity());
        } catch (ParseException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        } catch (IOException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        //Document doc = Jsoup.parse(content);
        Document doc = null;
        Elements ele = null;
        try {
            doc = Jsoup.connect("http://www.apsrtconline.in").get();
             ele=doc.select("header");
        } catch (IOException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        //Elements ele = doc.select("div.header");

        //wv_apsrtc.loadUrl(ele.text());
        wv_apsrtc.loadDataWithBaseURL(null, ele.text(), "text/html", "utf-8", null);
</code></pre>
