【发布时间】:2019-04-29 14:15:46
【问题描述】:
目前我有一个我院的网站,我想开发一个安卓应用程序,方便学生在URL中填写详细信息后访问结果,作为参考,您可以选择详细信息分别以 [Stream- Degree science; Class-F.Y.B.Sc;分部-CPM(A); Roll no- 1743] 另外,想知道 Json 获取和解析数据概念是否适用于此?答案将不胜感激:)
尝试过 Jsoup 方法,但仅适用于 Js 网站。
try {
newVersion = Jsoup.connect("https://play.google.com/store/apps/details?id=" + "com.example.myapp" + "&hl=en")
.timeout(5000)
.userAgent("Mozilla/5.0 (Windows; U; WindowsNT 5.1; en-US; rv1.8.1.6) Gecko/20070725 Firefox/2.0.0.6")
.referrer("http://www.google.com")
.get()
.select("div.hAyfc:nth-child(4) > span:nth-child(2) > div:nth-child(1) > span:nth-child(1)")
.first()
.ownText();
} catch (Exception e) {
e.printStackTrace();
}
期望用户选择登录凭据。
【问题讨论】:
标签: asp.net