×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    35

    textfield validation and using HTTP Post in j2me

    Hi

    1. how to validate the textfield , textbox in j2me.

    2. How to post multiple parameters via HTTP in j2me


    Please reply ASAP with examples on the same.
    Last edited by rachelwiz; 2010-07-06 at 07:41.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: textfield validation and using HTTP Post in j2me

    how to validate the textfield , textbox in j2me.
    If you want to validate the input as user enters the data - try ItemStateListner() and check for valid inputs.

    How to post multiple parameters via HTTP in j2me
    If you want to use GET request, pass them all with ? in URL and & seperated to the server.
    If you want to use POST method, pass all these parameters in stream as key/value pairs.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

Similar Threads

  1. J2me textbox and textfield at the same time. is it possible?
    By kemmal in forum Mobile Java General
    Replies: 2
    Last Post: 2010-04-21, 23:54
  2. restrict J2me TextField
    By faisal@aufait.in in forum Mobile Java General
    Replies: 4
    Last Post: 2009-06-12, 11:17
  3. How to handle LostFocus event for TextField in J2ME?
    By anupdesai1248 in forum Mobile Java General
    Replies: 4
    Last Post: 2009-03-02, 18:15
  4. j2me Midlet Verification/Validation Problem
    By Nikolaos in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2008-06-16, 16:31
  5. J2me Textfield supported parameters
    By Joe_Black123 in forum Mobile Java Networking & Messaging & Security
    Replies: 7
    Last Post: 2008-03-28, 07:28

Posting Permissions

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