This work in Android 5.0 ( without add ProviderInstaller ) but give me error up with Android 4.4.
I think we're almost, but something is missing, as if he lost the credentials.
Note that you should call GetRequest.SetContentType instead of SetHeader. It is probably not related to the credentials but your current code will not set the content type header.
Note that you should call GetRequest.SetContentType instead of SetHeader. It is probably not related to the credentials but your current code will not set the content type header.
The problem is related to the provider as it works with Android 5+. You need to find a Java solution that works with their API. I can then help you port it.