title: Android - Thread vs AlarmManager
body: <p>Ok, so I'm developing an Android App with news. When user runs App for the first time, a separate thread runs, then a infinite while( true ) loop starts, inside a loop a connector downloads text from the Internet to the notification and sends this notification, then sleeps for 8 hours. Which way is better to make it working best, a thread with way as above or alarm manager? Or, maybe there is a different and better way?</p>
  
  <p>For now I've done two ways for testing, both work good, but I have no idea how to check which one is more efficient, which won't be killed by android, which eats less resources, etc.</p>
  
  <p>And second question, is there any way to restore the loop when someone kill app? I was testing with Advanced Task Killer Free and an app Flashy (Flash Player Loader). I killed the Flashy, but 5 seconds later app was running again, so it propably is possible, but how?</p>
  
  <p>And for those who think I'm developing annoying ad - no, App which I'm developing just reads news from the Internet.</p>
  
  <p>Hope somebody helps,
  Thanks in advance.</p>