title: Implement startForeground method in Android
body: <p>I want to implement the <code>startForeground()</code> method in the <code>Service</code> class for prevent service self kill.</p>
  
  <p>Can anybody sent me code for implementing this method?</p>