×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    2

    How to submit a form via MIDlet?

    Hi all,

    How can we submit a form via MIDlet?
    like in Shopping cart, we submit form to PayPal with some hidden variables. How is this possible with Mobile application.

    I am using Nokia 6131 SDK for NFC.

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,563

    Re: How to submit a form via MIDlet?

    If the J2ME APIs do not allow for HTTP POST requests (I don't know if they do), you can look up the HTTP protocol specs and do your own HTTP over TCP/IP sockets.

    The HTTP RFCs you can find through this index: http://www.ietf.org/iesg/1rfc_index.txt

    Individual RFCs through this page: http://www.ietf.org/rfc.html

    Relevant RFCs would/could be, for example, these: 1945, 2068, 2616, 2660, 3310, 4169.

    E.g., RFC2616: http://www.ietf.org/rfc/rfc2616.txt?number=2616

  3. #3
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: How to submit a form via MIDlet?

    Hi,

    You can do this HTTP Connection , After opening the HTTP connection set the request method as "POST" and write your parameter in the output stream. It will Work

Similar Threads

  1. start midlet form symbian c++ exe
    By amipatel in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2008-06-23, 14:09
  2. j2me Midlet Verification/Validation Problem
    By Nikolaos in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2008-06-16, 16:31
  3. 技术文档:MIDP 2.0安全机制 与 MIDlet 数字签名
    By wotrust in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 0
    Last Post: 2006-12-30, 07:42
  4. How to create two instances of midlet
    By marquito99 in forum Mobile Java General
    Replies: 0
    Last Post: 2004-04-30, 01:33

Posting Permissions

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