title: How to create Android App which work online as well as offline?
body: <p>I want to create one app which should work online as well as offline. If internet connectivity is there it should use otherwise use the history.</p>
  
  <p>I am confused about some possibilities, like this:</p>
  
  <p>How to manage the physical resources like a images, video etc..
  How to update the local database according to the webservice?
  How to get new physical resources from net when local database update?</p>
  
  <p>About this I do some work which explain below.</p>
  
  <p>I get the all database of webserver and dump in to the sqlite and store in system folder.
  I get the all resources like a images and font and video store in system folder like a drawable and assest and raw folder.</p>
  
  <p>My main problem is there when any update in webservice then how I can update the local resources.</p>
  
  <p>One big problem is physical resources how I can manage and get this and store in local?</p>
  
  <p>Please give some ideas i am stuck
  thanks in advance </p>