Sign in to follow this  
Ouanilo

Android : Automatically Add Sync Folder

Recommended Posts

Hi All,

 

I've installed BitTorrent Sync on my android device (tremendous project by the way) !

 

Now I would like to add a sync folder to the sync service without using the app GUI.

 

I've tried copying ".SyncID" file (i assume it contains the secret, right ?) to the folder on the storage and added the folder path in the "/data/data/com.bittorrent.sync/shared_prefs/com.bittorrent.sync_preferences.xml" file but the folder is not detected as a sync folder when i launch the app.

 

Is there a way for me to achieve this without using the API ?

 

Opening to auxiliary questions :

 

- Is the API designed to work with the Android Client ? How to interact with it ?

- Can i add sync folder using the API ?

 

Thanks :) !

Share this post


Link to post
Share on other sites

@Ouanilo

 

Sync API works only for the desktop. It allows adding / removing folders. Adding folders is not only limited to adding some data to sync.dat files.

 

Why would you like to avoid using GUI for mobile?

Share this post


Link to post
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.

Sign in to follow this