如何从android提交表单?

如何从android提交表单?,android,forms,email,post,submit,Android,Forms,Email,Post,Submit,我正在使用html提交表单,现在我必须在android中创建一个表单,该表单将从与网站相同的文本框发送消息 我不想使用webview 以下是我的html代码: <form action="http://example.com/form/" method="post"> <input type="text" name="name"/> <input type="text" name="email" placeholder="Email Address" /> &

我正在使用html提交表单,现在我必须在android中创建一个表单,该表单将从与网站相同的文本框发送消息

我不想使用webview

以下是我的html代码:

<form action="http://example.com/form/" method="post">
<input type="text" name="name"/>
<input type="text" name="email" placeholder="Email Address" />
<textarea name="message" placeholder="Type your Message"></textarea>
<input type="submit" value="Send" />
</form>


谢谢

Reference您应该使用带有TextView、EditText的GridLayout,这样您就知道如何将数据从TextView或字符串发布到http服务器了?您对整个表单的哪一部分有问题?如何将数据从textview或字符串发布到上述表单的http服务器?请参阅,您应该使用带有textview、EditText的GridLayout,…以便您已经知道如何将数据从textview或字符串发布到http服务器?您对整个表单的哪一部分有问题?如何将文本视图或字符串中的数据发布到上述表单的http服务器?