I am trying to parse a page loaded in a webview. Following is the code

                        URL url = new URL(myURLToLoad);
                        DocumentBuilderFactory dbf = 
DocumentBuilderFactory.newInstance();
                           DocumentBuilder builder = dbf.newDocumentBuilder();
                               Document dom = builder.parse(url.openStream
());                      -------->  *
                                    String value = 
dom.getElementById(myDivID).getNodeValue
();

The code runs till * and then quits...I am not sure what is wrong with
this..Can anyone help...Or if you can suggest any alternate method it
would be helpful...
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to