6e1b689fa9
* increased folder button size * increased folder button size * code formatting * init * added copy * get name from content provider * implemented file sharing, multiple sharing and display name getter * putting everything in order * cancel button added * ignore existing files, translation, styling * fixed file copy * Updated UI, moved copy to background, fixed content:// copying * Fixed possible crash when displayName == null * Fixed lint issues, removed ru translations * Fixed plural params * Escaped quotes to display them in Toast * Changed spinner design to material one * Changed copy code, moved credits to code, fixed members naming * Fallback to id if label is not set * Added doc for some methods * Removed try-catch as there are no exceptions here * Removed try-catch as there are no exceptions here * Fixed general exception type * Removed ShareActivity from recents * Moved style to appropriate place * Small fixes for toString() * Moved credits from comment to javadoc of the class |
||
---|---|---|
.tx | ||
ext | ||
gradle/wrapper | ||
graphics | ||
patches/golang/all | ||
src | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
build.gradle | ||
CONTRIBUTING.md | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
ISSUE_TEMPLATE.md | ||
LICENSE | ||
lint.xml | ||
make-all.bash | ||
make-go.bash | ||
make-syncthing.bash | ||
prepare-release.bash | ||
README.md | ||
release.bash |
syncthing-android
A wrapper of Syncthing for Android.
Translations
The project is translated on Transifex.
Translations can be updated using the Transifex client, using commands tx push -s
and tx pull -a
.
Building
Requirements
- Android SDK Platform (for the
compileSdkVersion
specified in build.gradle) - Android NDK Platform
- Android Support Repository
Build instructions
This repository is using external dependencies so you have to initialize all submodules with --recursive option first time: git clone https://github.com/syncthing/syncthing-android.git --recursive
.
Set the ANDROID_NDK
environment variable to the Android NDK folder (e.g. export ANDROID_NDK=/opt/android_ndk
).
Build Go and Syncthing using ./make-all.bash
.
Use ./gradlew assembleDebug
in the project directory to compile the APK.
To prepare a new release, execute ./prepare-release.bash
, and follow the instructions.
To check for updated gradle dependencies, run gradle dependencyUpdates
. Additionally, the git submodule in ext/syncthing/src/github.com/syncthing/syncthing
may need to be updated.
Building on Windows
To build the Syncthing app on Windows we need to have cygwin installed.
From a cygwin shell in the project directory, build Go using ./make-go.bash [arch]
After Go is built, compile syncthing using ./make-syncthing.bash [arch]
Lastly, use ./gradlew assembleDebug
in the project directory to compile the APK,
or use Android Studio to build/deploy the APK.
License
The project is licensed under the MPLv2.