Downloading data from the server in real time

I'm developing an Android app with such a small social network to exchange messages in real time (google gcm) and profiles of registered users. Until now to update the data of the users use an AsyncTask that fetches the data and images from the server and displays it in the profile. Downloading data, however, this will become very slow if there are many images etc.. is there a way to get this information more quickly and place them in the layout xml?

Answers


Yes if there are images it will slow down the process. You can however download the data through async task only in which you can download the data part. For images there is a concept called lazy loading i.e. download as required. For that you can use the already available libraries provided.

  1. Volley
  2. Universal Image Loader
  3. Lazy list
  4. Image Loader

Need Your Help


About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.