利用MaxLeap實現的一個Android文件同步庫:FileBox
利用MaxLeap實現的一個Android文件同步庫。包括客戶端和服務器。可以輕松構建自己的"Dropbox"。
如何使用
- Git clone the project or download the zip
- Run the Example with Android Studio
- Edit the Example or create your own app with FileBox
BTW, you can create your own MaxLeap Account in the website and use your own Appid and APIKey. More example about MaxLeap could visit this.
用法
You can do your own "Dropbox" with there functions:
- setSyncRoot(String syncRoot)Set the local folder as the sync root folder.
- addFile(File src, File target)Add a file into FileBox. It will be sync automatically. You can alsomove/copy/rename/deletefiles in FileBox with SyncManager functions.
- startSync()Sync all files with cloud storage manually.
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!