9

Handle API call to Chicago Train Tracker API in Android App

view full story
linux-howto

http://stackoverflow.com – Sorry if this question has already been answered, but I haven't found it in a day of searching. I'm programming an Android app to recieve times of train arrivals at a station in Chicago. I'm not sure how to make api calls, though. You make API requests to http://lapi.transitchicago.com/api/1.0/ttarrivals.aspx with a station id (stpid). I also don't know how to take the data, in xml form, and put it into my app. An example would be making an API call for a station, and then taking the data and putting it into a box that displays the train arrival time, line, etc. I would be greatful for any sam (HowTos)