Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2010

    Sending JSON to server in FL2.0

    Hi all,

    I am a newbie. I don't know how to send JSON data to server in FL2.0.
    Please help me.


  2. #2
    Nokia Developer Champion
    Join Date
    Jul 2008

    Smile Re: Sending JSON to server in FL2.0

    According to my knowledge, it is not possible to directly send JSON via Flash Lite AS 2.0 client.What u have to do is to send it to a PHP server and the server does the encoding for u. SWX may helps u in this case, read here :
    SWX Format
    Second option is to implement a local http server written in python or symbian c++.So, you will send HTTP request to local server from flash lite and the local server encodes the data provided in Http request to JSON and send it to the provided server.However, the first option is easy to implement and take less resources on device as it is implemented on a Web Server.

    BTW,u can parse JSON using JSON.AS.

    Best Regards,

  3. #3
    Registered User
    Join Date
    Mar 2010

    Re: Sending JSON to server in FL2.0

    Thanks for your help.

Similar Threads

  1. XML onLoad with background http server problem
    By simonjuric in forum [Archived] Flash Lite on Nokia Devices
    Replies: 5
    Last Post: 2009-06-08, 16:47
  2. Sending Json from phone to server
    By rager in forum Symbian
    Replies: 16
    Last Post: 2008-12-04, 11:27
  3. Server sending device information, system error
    By cursed in forum OMA DM/DS/CP
    Replies: 0
    Last Post: 2008-05-12, 11:28
  4. TCP server packet receiving problem
    By raj_rr7 in forum Symbian Networking & Messaging (Closed)
    Replies: 9
    Last Post: 2007-07-12, 12:24
  5. how to use udp, for sending data server to client
    By acayir in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2006-08-02, 19:18

Posting Permissions

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