×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    108

    Question Retrieving data from a server..?

    Hi,
    I want to retrieve some data from a web server.
    How do i give the request for retrieving data from the server ?
    Is there any helpful example ..?
    Pls help me
    thanks in advance
    remesh

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Re: Retrieving data from a server..?

    Hi,

    - check here:http://www.forum.nokia.com/Resources...amples.xhtml#n

    - also in the SDK is example \Symbian\9.2\S60_3rd_FP1\S60Ex\WebClient

    BR
    STeN

  3. #3
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    108

    Re: Retrieving data from a server..?

    Hi,

    I have tested the "WebClient" example .
    It is simply displaying the html code ,date and other things.

    My need is to retrieve data from a server.
    Eg:-if the input data is "USA" ,output data (from server) would be United States of America".

    Is there any useful example or what all changes i need to do with the WebClient Example?

    Please help me.
    Thanks in advance
    remesh

  4. #4
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,560

    Re: Retrieving data from a server..?

    The WebClient example is a perfectly useful example of retrieving the data from a remote web server.

    It shows how you do the data retrieval.

    Now it is up to you to modify it to retrieve the data you want, and also to decide what you want to do with the data.

    If you need more help, you need to provide details on what kind of data you want to retrieve, exactly, and what you want to do with the data once you have it. And maybe even post some of your own code demonstrating what you've tried to get to work (post also a description of how and where your code fails).

  5. #5
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Re: Retrieving data from a server..?

    Hi remesh,

    did you ever seen HTTP trace? Because that is the protocol the web-client is using. IT sends the GET HTTP request and receives some response back - ideally 200 OK with some data in its body. That's pretty the same you need - to send some HTTP request with "USA" value in some header or as a part of the request URI or in the request body (e.g. there can be some XML formatted data).

    BR
    STeN

Similar Threads

  1. how to store data in mobile from the server using midlet
    By vinoy_george99 in forum Mobile Java General
    Replies: 9
    Last Post: 2009-05-28, 05:40
  2. How to handle UI, server connection and file handling in MIDP application for 6630?
    By SanjayKhuntia in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2008-09-19, 08:36
  3. How to send mobile file data to Server on Nokia 6630?
    By SanjayKhuntia in forum Symbian
    Replies: 1
    Last Post: 2008-08-25, 11:26
  4. uploading data to a web server
    By desijatt in forum Mobile Java General
    Replies: 2
    Last Post: 2007-01-23, 17:16
  5. Gauge to monitor progress not working :(
    By mattsaccount in forum Mobile Java General
    Replies: 1
    Last Post: 2004-05-17, 02:07

Posting Permissions

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