¡@

Home 

2014/10/16 ¤W¤È 08:21:08

android Programming Glossary: pagehtml

Is it possible to get the HTML code from WebView

http://stackoverflow.com/questions/3479833/is-it-possible-to-get-the-html-code-from-webview

context .setTitle HTML .setMessage html .setPositiveButton android.R.string.ok null .setCancelable false .create pageHTML html @Override public void customizeWebView final ServiceCommunicableActivity activity final WebView webview final SearchResult.. ' head ' Pattern pattern Pattern.compile h2 Winning Sc. h2 div . br Pattern.DOTALL Matcher matcher pattern.matcher pageHTML matcher.find The interface is never called html android webview share improve this question Had to use HttpClient... response.getEntity String html if entity null html EntityUtils.toString entity return html else return null pageHTML null try while pageHTML null pageHTML client.execute pageGet handler catch ClientProtocolException e TODO Auto generated..