通过一个Android应用程序登录到网站 [英] Log in to a website by an android app
问题描述
我想提出一个Android应用程序 http://yearbook08.com/ 我知道如何通过Web解析页面,但我不知道如何在特定的字段中输入信息或移动到另一页。
I am making an android app for http://yearbook08.com/ I know how to parse through a web page but I have no idea how to enter information in particular field or move onto another page.
如果你打开此链接有两个文本字段我想从我的应用程序中输入数据,并要登录,如果有人有code这将是没什么太大的帮助。
If you open this link there are two text fields I want to enter data from my app and want to log in, if somebody has code for this it would be much helpful
推荐答案
如果您不想使用该页面的实际用户界面输入用户信息,这将需要http请求的一些用法(图中所示的here )。
还有,你将需要某种形式的反向工程通过阅读网页的HTTP头,知道在不同情况下的导航页面的响应。要做到这一点,你会需要像这个一>
If you want to enter user information without using the actual UI of the page, it will require some usage of http requests (shown here). As well you would need some kind of reverse engineering via reading the page's http headers, to know what the page responses in different navigational scenarios. To do this you'd need something like this.
这篇关于通过一个Android应用程序登录到网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!