• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

display content from web API

 
binu narayanan
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need somehelp in displaying data from there different web API's in a single screen. Some code or a link will be reallyhelpful
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What specific problem do you have with that - accessing the APIs? Designing or implementing the GUI to display the data? Something else?
 
binu narayanan
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer, actually i do not have the slightest idea how to achieve it.I have no issues in accessing the API's . The issue is with Designing and implementing the code to access the three API's simultaneously and display the data
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you written any Android app that retrieves data and displays it? Actually, since you state that accessing the APIs is not a problem, that boils down to "have you written any Android app that displays data?" - which is pretty much the same as asking "have you written any Android app?" If not, check out the sample apps that come with the Android SDK - they show just about any API (including all the GUI elements) in action. You may also want to get an introductory book; the http://www.coderanch.com/how-to/java/AndroidFaq lists several, but make sure it covers Android 4.
 
binu narayanan
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer, sure i have written APP to display data from a web API using AsyncTask and i was able to display data from another webAPI in the same screen using sub activity. Issue is that i have to get the data from first API use the data to access the other three webAPI's and display the data from the first and the three other web API call in the same screen. I would like to know whats the way to do it. Thanks
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you be specific about what prevents you from progressing? If you have already written an app that retrieves data from one site and displays it, writing one that retrieves data from 3 sites and displays it isn't fundamentally different.
 
binu narayanan
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can call another async task from the post execute method of the first async task

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic