Killing app <my service> (pid 1724) because provider <my provider> is in dying process <my app>
<p>A Provider is implemented in application  and application updates provider data and triggers a remote service  which queries the provider to retrieve the stored values.The application is closed  after sometime but service keep on accessing the content provider.At some point the following error is thrown in logcat and the remote service  is crashed.</p>

<p>"Killing app  (pid 1724) because provider  is in dying process "</p>

<p>I googled for this error and couldn't find information about why this error occurs.</p>

<p>UPDATE: In one of the places context returned by getApplicationContext is used instead of Service to get contentresolver to query the content provider. Does it cause any problem? </p>
