Do you get anything in the log cat? If there is some exception, log it.
Kumar Bibek http://tech-droid.blogspot.com On Jan 12, 2:56 am, nikhil <nik...@gmail.com> wrote: > After the * step it doesnot debug further it skips to next method and > loads the view > > On Jan 11, 2:09 pm, TreKing <treking...@gmail.com> wrote: > > > What do you mean by it "quits"? > > > More than likely you're throwing an exception (highly likely with network > > IO). Put some try / catch code, logging, and breakpoints in there and see > > where it's going wrong. > > > ------------------------------------------------------------------------------------------------- > > TreKing - Chicago transit tracking app for Android-powered > > deviceshttp://sites.google.com/site/rezmobileapps/treking > > > On Mon, Jan 11, 2010 at 2:00 PM, nikhil <nik...@gmail.com> wrote: > > > 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 android-developers@googlegroups.com > > > To unsubscribe from this group, send email to > > > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en