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 appli
try this solution:
Context ctx = context.createPackageContext("package of the provider", Context.CONTEXT_IGNORE_SECURITY);
cursor = ctx.getContentResolver().query(uri, null, null, null, null);
// do something with cursor
And it had not restarted the main process when the package uninstalling, that supply the provider...