title: Android: How do I call startResolutionForResult from a Service?
body: <p>I'm trying to add GPS tracking functionality to my app by writing a GPS tracking Service. I've been following the Android Developer materials on how to do this via Google Play Services, but I'm stuck on the <code>onConnectionFailed</code> method. I'm trying to call <code>startResolutionForResult</code> to let Google Play Services handle the error. However this method requires that an activity be passed in as the first parameter, and since I'm calling it from a Service I'm not really sure what I should do.</p>
  
  <p>I assume that I'm going about this all wrong and there's a completely different way to handle this from a service.</p>