title: Android: Start Service with Context.startService vs PendingIntent.getService
body: <p><strong>Context.startService</strong></p>
  
  <pre><code>Intent intent = new Intent(context, MyService.class);
  context.startService(intent);
  </code></pre>
  
  <p><strong>PendingIntent.getService</strong></p>
  
  <pre><code>Intent intent = new Intent(context, MyService.class);
  PendingIntent pi = PendingIntent.getService(context, 0, intent, 0);
  pi.send();
  </code></pre>
  
  <p><br /><strong>Questions</strong></p>
  
  <ol>
  <li>When would you start a service with Context.startService vs a PendingIntent?</li>
  <li>Why would you use one over the other?</li>
  </ol>