0

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 ?

2 Answers2

0

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.

mdelolmo
  • 6,417
  • 3
  • 40
  • 58
0

The better data type for image is byte array.

SIVAKUMAR.J
  • 4,258
  • 9
  • 45
  • 80