×

Discussion Board

Results 1 to 5 of 5

Thread: image upload

  1. #1
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    51

    image upload

    I need to upload an image from my j2me application to a web server.
    I can't work with servlet, since my free domain doesn't offer tomcat or java hosting.

    Is there any other way to upload?

    Thanks

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: image upload

    Do they offer any scripting? Perl, PHP, ASP?

  3. #3
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    51

    Re: image upload

    Do they offer any scripting? Perl, PHP, ASP?
    They offer PHP. and doesn't offer perl and ASP. I'm using domain from http://www.000webhost.com/

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,085

    Re: image upload

    Quote Originally Posted by csckid View Post
    They offer PHP. and doesn't offer perl and ASP. I'm using domain from http://www.000webhost.com/
    You can use PHP, take help from this FN Wiki example -

    http://wiki.forum.nokia.com/index.ph...oad_in_Java_ME
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  5. #5
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    51

    Re: image upload

    I tried the example that you mentioned and failed. There were few things which I couldn't understand. Such as:
    params.put("custom_param", "param_value");
    params.put("custom_param2", "param_value2");
    what should I put here?

    HttpMultipartRequest req = new HttpMultipartRequest( ....... "upload_field", .......)
    what is upload_field?


    filesize($_FILES['upload_field']['tmp_name']);
    Is this line handling the POST ?
    tmp_name: is this name of my file?
    Last edited by csckid; 2010-07-08 at 08:56.

Similar Threads

  1. Replies: 3
    Last Post: 2010-02-09, 02:13
  2. HOW to upload image or show image in my thread in nokia communtiy???
    By yanjun1 in forum Feedback - Nokia Developer Services & Infrastructure
    Replies: 6
    Last Post: 2009-04-15, 16:33
  3. image upload
    By krtrivdi in forum Symbian
    Replies: 15
    Last Post: 2007-02-20, 12:10
  4. Can't upload image. Please HELP !!!
    By hmedinapy in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2004-11-02, 07:20
  5. image upload
    By megalogika in forum Digital Rights Management & Content Downloading
    Replies: 2
    Last Post: 2003-06-05, 09:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×