Inform about long running tasks!
There is a good example. Background Location Tracking.
you are free to use a timer or whatever in the long runnign task.
No, you can´t. The interactions are needed. The user must initially select the External SD. This can only be initiated from an Activity.
Once you know the persistenturi you can store it and then use it to further interact with the SDCard.
No.
ONLY after you let the use select the root folder first.
You can not just use a "fictive" persistanUri without letting the user select it ONCE.
Edit: You can for sure edit the class and just TRY to do that. But i fear it ends in an error as it is a requirement by Google.
I am doing this no problem.. I really struggle with posting anything thing else my project does through fear of getting pointers to other projects. I'm doing the FTP stuff no problem. I can do that in the background no problem.
The issue I seem to be having here is using the ExternalStorage Class as a service.
You can not use it "as a Service". It is a Class. You can "use it IN a Service". In the example attached it is in the Starter service.
For the initialisation (letting the user select the root folder) it is initialized in Main activity too. This is only needed as long the user did not selected it.