Search code examples
phpjava-melwuit

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 ?


Solution

  • 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.