I need to upload a file from a background service.
The problem is that to obtain a IOneDriveClient object I need to pass an Activity.
How should I do?
What I need is a "silent login" from a Service. If the user was not logged in, I don't need to display any login screen.
I need to upload a file from a background service. The problem is that to obtain a IOneDriveClient object I need to pass an Activity. How should I do? What I need is a "silent login" from a Service. If the user was not logged in, I don't need to display any login screen.
Thanks!