Hello. There is a working page parsing code. Debug on android 5.1 - all the rules. And on 4.4.2 - does not want to read the document. Used the Jsoup library. Maybe there will be any suggestions ??

UPD:

myLink = "http://horo.qip.ru/names/%D0%94%D0%BC%D0%B8%D1%82%D1%80%D0%B8%D0%B9"; Document doc = Jsoup.connect(myLink).get(); String s = doc.text(); Elements div_text = doc.select("div.descr"); results = div_text.text(); 
  • one
    There is a suggestion to go through debugger, well, or show the stack-trace, if any. Or explain what your "does not want to read the document" is expressed in. - post_zeew
  • @post_zeew, all classes are not taken into the document (only the first 5 divs), although with 5.1 all parsin takes all the code for the page. And I won’t show you the stack trace, since Somo connection passes the rules and there are no exceptions. - Dmitriy Koverko 6:49 pm
  • Well, then the very first sentence is very relevant. - post_zeew
  • @post_zeew, but didn’t write here, if I hadn’t passed before this debager several times. - Dmitriy Koverko
  • And what exactly are your "android 5.1", and "4.4.2"? - Vladyslav Matviienko

0