title: how to listen to user camera event all the time
body: <p>I have been writing a Dropbox like android app, which automatically upload photos to the server. When user take photos by camera and save them on SD Card, it will be noticed to upload these photos.</p>
  
  <p>I started a service to ensure long time listening, and registered a Content Observer to listen camera event. But when OS under resource pressure, it will kill the service and the Content Observer wont be fire any more. So how to make the Content Observer always working?</p>
  
  <p>BTW, the point of my question is asking how to keep Content Observer running as long as possible just like service does. And if Content Observer is not the best option what else is.</p>