1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 03:11:30 +00:00
Wrapper of syncthing for Android.
Find a file
Catfriend1 6a04d640bd
Improve run conditions and run conditions UI (#1189)
* WIP - Extend run condition monitor functions

* WIP - Better run conditions UI

* WIP - Allow applying run conditions to foreground and background
execution of the syncthing app

* WIP - Add mobile data run condition

* WIP - Fix RunConditionMonitor#onSharedPreferenceChanged

* WIP - Directly go to SettingsActivity#Run_Conditions screen
after the "change run condition" button has been clicked in
StateDialogActivity during STATE_DISABLED

* Disable Syncthing in flight mode (fixes #1173)
... and allow to enable it on phone that have problems
detecting wifi connection if the user manually enables
one during flight mode.

* Add run condition "Run on metered wifi" (fixes #937)

* Improve string

* Add run condition "Respect Android Auto-sync data quick toggle" (fixes #588)

* Remove SharedPreferences.OnSharedPreferenceChangeListener

* Added SyncthingService#reEvaluateRunConditions

* Implement mPendingRunConditions in SettingsActivity
to queue run condition changes until the user leaves
the preferences screen after making changes. (fixes #1196)

* Rename reEvaluateRunConditions to evaluateRunConditions
according to review

* Fix implementation of ContentResolver.removeStatusChangeListener

* Reordered run conditions
wifi, metered wifi, wifi whitelist, mobile data

* Review 1/2

* Fix logic for metered/non-metered wifi run condition

* Remove PreferenceScreen dividers on API level > 21

* Revert "Remove PreferenceScreen dividers on API level > 21"

This reverts commit ec037b02e4.

* Detect changes made to wifi connections in android's data usage dialog
related to the metered wifi flag.

* Review - Minor string improvements
Removed unused variable from RunConditionMonitor
Move always_run_in_background pref to pref category
"Behaviour".

* Review - "Start service automatically on boot" string

* Remove unused strings
2018-08-02 10:50:21 +02:00
.tx Revert "Revert build script changes" 2017-10-24 14:55:28 +09:00
app Improve run conditions and run conditions UI (#1189) 2018-08-02 10:50:21 +02:00
docker Move build script to python (#1184) 2018-07-18 00:17:58 +01:00
gradle/wrapper Fix Android Studio 3.1.3 build-tool warnings (#1131) 2018-06-12 18:28:03 +01:00
graphics Integrate gradle plugin for translation uploads (fixes #408, #463). 2015-11-16 22:10:00 +01:00
syncthing Updated Syncthing to v0.14.49 2018-07-24 21:37:42 +01:00
.gitignore Add ext/ to .gitignore (#1132) 2018-06-12 19:57:09 +01:00
.gitmodules Revert "Revert build script changes" 2017-10-24 14:55:28 +09:00
.travis.yml Fix Android Studio 3.1.3 build-tool warnings (#1131) 2018-06-12 18:28:03 +01:00
build.gradle Fix Android Studio 3.1.3 build-tool warnings (#1131) 2018-06-12 18:28:03 +01:00
CONTRIBUTING.md Added more info about logcat to contributing 2016-12-05 14:15:21 +09:00
gradlew Updated dependencies 2017-11-13 09:46:29 +09:00
gradlew.bat Updated gradle 2017-01-26 11:38:17 +09:00
ISSUE_TEMPLATE.md Added issue template, based on that in syncthing/syncthing. 2016-08-02 17:11:34 +02:00
LICENSE Change license to MPLv2. 2015-03-17 22:27:50 +01:00
prepare-release.bash Speed up transifex download 2017-10-26 13:07:39 +09:00
publish-release.sh Fix version 2017-10-24 22:26:31 +09:00
README.md Move build script to python (#1184) 2018-07-18 00:17:58 +01:00
settings.gradle Revert "Revert build script changes" 2017-10-24 14:55:28 +09:00

syncthing-android

Build Status License: MPLv2 Bountysource

A wrapper of Syncthing for Android.

screenshot 1 screenshot 2 screenshot 3

Get it on Google Play Get it on F-Droid

Translations

The project is translated on Transifex.

Building

Dependencies

  • Android SDK (you can skip this if you are using Android Studio)
  • Android NDK ($ANDROID_NDK_HOME should point at the root directory of your NDK)
  • Go (see here for the required version)

Build instructions

Make sure you clone the project with git clone https://github.com/syncthing/syncthing-android.git --recursive. Alternatively, run git submodule init && git submodule update in the project folder.

Build Syncthing using ./gradlew buildNative. Then use ./gradlew assembleDebug or Android Studio to build the apk.

License

The project is licensed under the MPLv2.