2
我想在android studio中编写一个应用程序,在网站html中提交表单并解析结果的html页面。我对这种工作很陌生,我需要帮助。我曾与过去的Jsoup一起工作,但只是到了我可以连接到html和解析东西的地步。我是新来提交表单。以下是我想要与输入标签一起提交的网站HTML上的表单。Android网页搜索的结果
<form role="form" ng-submit="searchForm.$valid && searchEircode()" name="searchForm" novalidate="" class="ng-pristine ng-invalid ng-invalid-required ng-valid-minlength">
<div class="input-group">
<input placeholder="Enter a full address or Eircode" class="form-control ng-pristine ng-invalid ng-invalid-required ng-valid-minlength ng-touched" ng-class="{formcontrolRequired:searchForm.$submitted && !searchForm.$valid || InvalidEircode}" ng-model="searchQuery" name="searchQuery" required="" autocomplete="off" spellcheck="false" typeahead="address.address for address in getAutoCompleteAddresses($viewValue)" typeahead-on-select="onSelect($item, $model, $label)" typeahead-focus-first="true" focus="" ng-minlength="3" search-bar="" aria-autocomplete="list" aria-expanded="false" aria-owns="typeahead-64-7981"><ul class="dropdown-menu ng-isolate-scope ng-hide" ng-show="isOpen()" ng-style="{top: position.top+'px', left: position.left+'px'}" style="display: block;;display: block;" role="listbox" aria-hidden="true" typeahead-popup="" id="typeahead-64-7981" matches="matches" active="activeIdx" select="select(activeIdx)" query="query" position="position">
<!-- ngRepeat: match in matches track by $index -->
</ul>
<span class="input-group-btn" ng-class="{current:loading}">
<input type="submit" value="Search" class="btn btn-default btn-search-bar" ng-disabled="loading">
<div id="floatingCirclesG">
<div class="f_circleG" id="frotateG_01"> </div>
<div class="f_circleG" id="frotateG_02"> </div>
<div class="f_circleG" id="frotateG_03"> </div>
<div class="f_circleG" id="frotateG_04"> </div>
<div class="f_circleG" id="frotateG_05"> </div>
<div class="f_circleG" id="frotateG_06"> </div>
<div class="f_circleG" id="frotateG_07"> </div>
<div class="f_circleG" id="frotateG_08"> </div>
</div>
</span> </div>
<!-- ngIf: searchForm.$submitted -->
<div class="error-message ng-binding ng-hide" ng-show="InvalidEircode">
</div>
</form>
前进的任何方式将高度赞赏。
什么是表单的动作参数值?有我们可以看到这种形式的网址吗? – Stephan