Calling The Sync Service On Demand With Android


nodoid

Recommended Posts

Hi,

 

I have the sync app installed (just while the server is set up with the API key etc). One thing I've noticed is that the service goes to sleep (which is fine - saves on the battery). The issue though is that adding files to the shared folders isn't waking the service.

 

Is there a way that I can get my app to force the btsync service to wake up and start the sync?

 

Paul

Link to comment
Share on other sites

@nodoid

I suggest you are talking about some mobile device. If this is Android - you can disable the "auto-sleep" feature to let Sync detect file changes and sync them immediately, though this mode of operation is rather battery-consuming. Otherwise you'll have to wait while Sync wakes up (sleep gap is configurable) to get your files synced.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.