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 :) !

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.