Forum Cross Platform with Xamarin

Using xamarin to retrieve JSON message from URl and show in table or List view

SathuSathu USMember ✭✭
edited October 2014 in Cross Platform with Xamarin

i'm tried to get json message from url and shown the particular value in table view. But still it fails for me. can anyone help me.
here i give sample url. I want to list all city or country name in the Listview.,Bangladesh.json


  • JasonAwbreyJasonAwbrey USInsider, University, Developer Group Leader mod

    Retrieving the contents of a URL is the same as doing it in any .NET app - use HttpRequest, WebClient, etc.

    For parsing JSON look into the JSON.Net component or NuGet package.

  • SathuSathu USMember ✭✭
    edited October 2014

    I tried this, but it wasn't working properly. can u have any sample application using json

  • rmaciasrmacias USBeta, University ✭✭✭✭✭

    What Jason recommended is the most common way of doing it. If you had problems, then it was most likely something wrong in your code. You might have better luck if you post a complete sample of what you did, and a stack trace of any exceptions that occurred.

  • SathuSathu USMember ✭✭

    click here to see my problem.

Sign In or Register to comment.