利用MaxLeap实现的一个Android文件同步库:FileBox

jopen 10年前

利用MaxLeap实现的一个Android文件同步库。包括客户端和服务器。可以轻松构建自己的"Dropbox"。

如何使用

  1. Git clone the project or download the zip
  2. Run the Example with Android Studio
  3. 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.

Process

项目主页:http://www.open-open.com/lib/view/home/1443355554594