Android Network operation -


i have question regarding network operation in android application, if suppose have async task in application downloading data server via rest apis.

my questions

  1. while async task being executed if user presses home button happens network operation?
  2. if again start application need execute network operation again?

no, don't have execute network operation again, have handle correctly activity lifecycle (because not automatically case asynctask).

i suggest read paper : http://www.vogella.com/tutorials/androidbackgroundprocessing/article.html#concurrency_asynchtask3


Comments

Popular posts from this blog

visual studio - vb.net filter binding source by time -

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -