简体   繁体   English

将Android中的图片上传到MySQL数据库

[英]Upload Picture in Android to MySQL database

I currently develop a registration form with profile picture. 我目前正在开发带有个人资料图片的注册表。 The user need to browse the picture from gallery and select one from there as profile picture. 用户需要浏览图库中的图片并从中选择一张作为个人资料图片。 After that, the user will submit the form through HTTP post to insert the whole information into MySQL database using PHP script. 之后,用户将通过HTTP帖子提交表单,以使用PHP脚本将整个信息插入MySQL数据库。

Now, I facing problem in create a form to upload the picture in my android emulator. 现在,我在创建表单以在Android模拟器中上传图片时遇到问题。 I co not know how to create one. 我不知道如何创建一个。

Currently, I using SDK 10 for android version 2.3.3. 目前,我将SDK 10用于Android版本2.3.3。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM