I am trying to upload image from android phone to php server with additional values,the method is post my php file look like this
if($_POST[\'val1\']){
if
I have found solution of my problem. I am making mistake at line string res=(" .... "); I have not adding "\r\n" after every content.I have add it and my code working properly
link is very useful for me : http://wiki.forum.nokia.com/index.php/HTTP_Post_multipart_file_upload_in_Java_ME
Thank you sir for helping me
here is a nice article, http://blog.sptechnolab.com/2011/03/09/android/android-upload-image-to-server/. It works.