title: How to receive broadcast event even when my App is in background in android
body: <p>I  have a  app  which is  a single  activity app ,  it  listens  to many broadcast  event  , my  question is  that  how  can I  ensure that I receive  all the  fired  intent  which i  have   added  for my app  even  when  my  app  is not  in  foreground and  running in  background ??</p>
  
  <blockquote>
    <p>is  there a  certain  method   where 
    I  should add my intent  filter and 
    do the  registerReciever ?  I'm   sure 
    it  won't  work  if  I keep  it in
    "Oncreate"</p>
  </blockquote>
  
  <p>any ideas  or help ??</p>