开发者

What is the j2me datatype suited to upload a j2me image to a PHP file?

I want to upload LWUIT images from a java j2me application to a webserver. So I thought about webservice and php files. So I wonder what datatype should I send to the php file in order to transform this datatype to get开发者_运维知识库 an image ? And how should I process the datatype in the php file in order to get an image ?


If I understand you correctly, the answer is Multipart Request. I haven't done this with JavaME and moreover, I haven't done this with php. But here is a tutorial to send that kind of request from Java ME.

Maybe someone can add something about php, which is not my strength.

Regards.


The better data type for image is byte array.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜