Ouanilo Posted July 2, 2014 Report Share Posted July 2, 2014 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 ! Quote Link to comment Share on other sites More sharing options...
Ouanilo Posted July 6, 2014 Author Report Share Posted July 6, 2014 Ok, every thing is up to the files/.sync/sync.dat file (Bencode format / beware of the fileguard) ! Quote Link to comment Share on other sites More sharing options...
RomanZ Posted July 8, 2014 Report Share Posted July 8, 2014 @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? Quote Link to comment Share on other sites More sharing options...
Ouanilo Posted July 9, 2014 Author Report Share Posted July 9, 2014 Hello RomanZ, I was actually thinking about a use case where sync folder is preconfigured before the launch of the application. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.