Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User mohiit's Avatar
    Join Date
    Sep 2008
    Posts
    2
    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
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,415
    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 bhanuchandar.k's Avatar
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868
    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. Submit a form containing a picture
    By thomas.vervik in forum Mobile Web Site Development
    Replies: 0
    Last Post: 2008-07-09, 07:55
  2. start midlet form symbian c++ exe
    By amipatel in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2008-06-23, 14:09
  3. j2me Midlet Verification/Validation Problem
    By Nikolaos in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2008-06-16, 16:31
  4. 技术文档:MIDP 2.0安全机制 与 MIDlet 数字签名
    By wotrust in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 0
    Last Post: 2006-12-30, 07:42
  5. 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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved