有没有一种工具,就像机械化为Android? [英] Is there a tool like mechanize for Android?
问题描述
我创建一个Android应用程序,必须做一些网上冲浪的背景下,以提供给用户的服务。
I'm creating an Android app which must do some web surfing in the background in order to provide a service to the user.
我必须连接到该网站有没有API,它只是提供了标准的HTTP访问,具有广泛的cookie的使用,但(幸运的是我)没有太大的Javascript code。
The site I must connect to has no API, it only provides standard HTTP access, with extensive cookie usage but (luckily for me) not much Javascript code.
我不知道是否有它的行为像蟒蛇机械化为Android,或者如果它是可以使用机械化自己的Android应用程序库。
I wonder if there is a library which behaves like python mechanize for Android, or if it's possible to use mechanize itself in the Android app.
推荐答案
我不知道它会工作在Android中,但被基于Java的100%,的 的HtmlUnit可能是值得一试。
I'm not 100% sure it'll work in Android, but being Java-based, HtmlUnit is probably worth a look.
这篇关于有没有一种工具,就像机械化为Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!