捕获图像并将其保存在mysql数据库中 [英] Capture image and save it in mysql database

查看:118
本文介绍了捕获图像并将其保存在mysql数据库中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..我想从Android设备捕获一个图像,我想将它存储在mysql数据库中。我怎么能这样做?我对使用mysql创建数据库没有任何了解。

请帮帮我。

谢谢。



我尝试了什么:



我尝试使用WAMP但是图片没有在数据库中上传。

Hi.. I want to capture an image from android device and I want to store it in mysql database.How I can do that?. I don't have any knowledge in creating database using mysql.
Please help me.
Thank you.

What I have tried:

I tried using WAMP but image is not uploading in database.

推荐答案

您需要创建一个服务,以便在MySQL数据库中保存图像。

您可以通过多种方法完成工作。使用一些好的关键字进行google / bing搜索可以产生100个关于此主题的好艺术品。



但是,对于一步一步的解决方案,您可以参考以下文章使用PHP和MySQL提出了解决方案 -

Android使用PHP MySQL将图像上传到服务器 [ ^ ]



您也可以参考视频教程。

如果您发现任何执行此操作时遇到困难,请告知我们问题的详细信息。



希望,有帮助:)
You need to create a service for the purpose of saving image in MySQL database.
There are many approaches through which you can get your job done. A google/bing search with some good keywords can yield 100s of good artcles on this topic.

However, for a step by step solution you can refer to following article which has proposed solution using PHP and MySQL-
Android Upload Image to Server Using PHP MySQL[^]

You can refer to the video tutorial too.
In case you find any difficulties while implementing this, please let me know with the details of the issue.

Hope, it helps :)


这篇关于捕获图像并将其保存在mysql数据库中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆