Reputation: 295
For example I have a server based app, which does JSON parsing, fetches image url and then download image from the server, which is then clickable to a webview. How can I make it take less time in loading the data? My solution for this is that I do Asynch task in the background or trigger a service as soon as the application starts, so that when user wants the data, he gets it immediately. No progress bar needed!
Besides this, what are the other ways that can help me optimize the app for a best user experience? Please suggest, i am a newbie in android.
Upvotes: 0
Views: 488
Reputation: 6717
for image downloading You can use cache concept that keep image in local cache of device if the image is available in device cache then it will not again download from server Or you can use fast image downloading concept provided by Google itself Click here
Upvotes: 3