how get

后端 未结 2 1890
Happy的楠姐
Happy的楠姐 2020-12-22 08:24

how get the url a rss feed and open on in android




        
2条回答
  •  南笙
    南笙 (楼主)
    2020-12-22 09:02

    If you want to get an URL from the XML above, you can try to use jsoup library:

    String input = "\n" +
                "\"REDIRECTED:The company" +
                " joins Google in protesting cyber attacks and censorship in China.\n" +
                "";
    Document document = Jsoup.parse(input);
    String output = document.select("img").first().attr("src");
    

提交回复
热议问题