使用phpconnection从j2me将图像路径保存到mysql中 [英] Saving image paths into mysql from j2me using phpconnection

查看:46
本文介绍了使用phpconnection从j2me将图像路径保存到mysql中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将图像路径保存到mysql。我已经使用J2ME编程构建了一个移动应用程序,并使用PHPConnection将应用程序与服务器连接起来。感谢您的建议:)

how can i save an image path to the mysql. i''ve build an mobile aplication using J2ME programming and use the PHPConnection for conenecting the application with the server. thanks for advice:)

推荐答案

使用适当的图像路径值执行SQL查询。
execute the SQL query with the appropriate value for the image path.


如何执行sql?你可以给我举个例子吗?:)我在j2me中构建了aplication.so图像保存在byte []中,因为图像是从相机中捕获的。那么如何将二进制文件保存到图像路径中?请帮助我。非常感谢:)
how can i execute the sql? can u give me the example?:) i build the aplication in j2me.so the image was saved in byte[], because the image is captured from the camera. so how can i save the binary into the image path?please help me.thankyou so much:)


如果你想用Java完成它我可以在那里移动线程。这是PHP部分。
if you want it to be done in Java I can move the thread there. here is the PHP section.


这篇关于使用phpconnection从j2me将图像路径保存到mysql中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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