I'm attempting to turn a web interface into an Android one by parsing the web page for relevant data and then allowing the user to send back data to the server. Using simple HttpClient code I have managed to get the web page and then parse the necessary information. I'm unfamiliar with sending data back, so, I'm hoping someone can shed some light. Here's the relevant HTML code from the login page.
<table cellspacing=0 cellpadding=0><tr><td valign=top align=center>
<table cellspacing=0 cellpadding=0 border=0 width=220 align=center class=table_back><tr><td>
<table cellspacing=1 cellpadding=1 border=0 width=100%>
<tr class=table_row1><form action="i.cfm?&1028&p=login&se=4" method=post name=stepform><Td align=right nowrap> Empire Name </td><td> <input type=text name=nic size=16 ></td></tr>
<tr class=table_row2><Td align=right>Password </td><td> <input type=password name=password size=16 ></td></tr>
<tr class=table_row1><Td align=right valign=top>Server</td><td> <select name=server>
<option value="0" >Normal</option>
<option value="1" >Fast</option>
<option value="2" >Slow</option>
<option value="3" >Ultra</option>
<option value="4" selected>RT</option>
</select><font class=smallfont> <a href=javascript:ch('i.cfm?popup=help&type=server');>What is this <img src=i/help.gif></a>
</td></tr>
<tr class=table_row2><Td align=right> IP </td><td> 69.47.105.149 <font class=smallfont>(United States of America)</font></td></tr>
<tr class=table_row1><td> </td><td> <input type=submit value=" Login " ></td></tr>
</td></tr></table></table>
As you can see there are 3 inputs needed, the "Empire Name", "Password", and the "Server" which consist of 5 options. How would I go about sending this data back to the server over httpClient, assuming that I have gathered the relevant information form my Android GUI. Any help is greatly appreciated.