Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2013
    Posts
    1

    Send Asynchronous call

    I am new and start doing working on windows phone app a few days back. Can any one help me that how to send asynchrous call on server or any url for getting json as a result ?

    Thanks.

  2. #2
    Regular Contributor
    Join Date
    Sep 2012
    Location
    Morocco
    Posts
    298

    Re: Send Asynchronous call

    Quote Originally Posted by salman.pilabs View Post
    I am new and start doing working on windows phone app a few days back. Can any one help me that how to send asynchrous call on server or any url for getting json as a result ?

    Thanks.
    Hello you can use the WebClient class and getting the json with the DownloadStringAsync, which fires OnDownloadStringCompleted

    then in the OnDownloadStringCompleted you do whatever you want with the result
    Code:
     protected override void OnDownloadStringCompleted (DownloadStringCompletedEventArgs e)
    {
    if(e.Result == null ) return;
    else // start parsing your json.  
    
    }

Similar Threads

  1. Rcall::Dial (Asynchronous call)
    By aldrin_rave in forum Symbian
    Replies: 5
    Last Post: 2010-05-21, 13:51
  2. Asynchronous function call
    By sandy_zeng in forum Symbian
    Replies: 3
    Last Post: 2007-10-03, 18:14
  3. how to send asynchronous Exit message
    By rpunskyy in forum Symbian
    Replies: 2
    Last Post: 2007-06-11, 17:17
  4. Asynchronous call to GetDir
    By MiKeL in forum Symbian
    Replies: 2
    Last Post: 2006-10-09, 12:26

Posting Permissions

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