1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-22 20:31:16 +00:00
Wrapper of syncthing for Android.
Find a file
Lode Hoste 7f7b8cd653 Merge branch 'fix-scanner' of https://github.com/Zillode/syncthing-android into Zillode-fix-scanner
Conflicts:
	src/main/java/com/nutomic/syncthingandroid/fragments/DeviceSettingsFragment.java
2015-05-05 20:00:32 +02:00
.tx Added Transifex language map, moved translation files. 2015-02-22 22:15:37 +01:00
ext/syncthing/src/github.com/syncthing Update to Syncthing v0.11 2015-04-29 19:30:29 +02:00
gradle/wrapper Updated dependencies and gradle wrapper. 2014-12-07 11:58:54 +02:00
graphics added a proper notification icon 2015-04-06 22:44:21 +06:00
src Merge branch 'fix-scanner' of https://github.com/Zillode/syncthing-android into Zillode-fix-scanner 2015-05-05 20:00:32 +02:00
.gitignore Updated gitignore. 2015-02-22 22:16:25 +01:00
.gitmodules Get support-v4-preferencefragment via maven dependency instead of submodule. 2014-09-25 02:29:19 +03:00
.travis.yml Remove ARMv7 from Travis. 2015-01-22 16:00:31 +01:00
build-syncthing.sh Update golang to v1.4.2 2015-04-06 21:41:31 +02:00
build.gradle Enabled test coverage. 2015-04-09 21:49:12 +02:00
CONTRIBUTING.md Added instructions for logcat in console. 2015-04-20 23:00:08 +02:00
gradlew Use gradle wrapper. 2014-10-18 14:58:10 +03:00
gradlew.bat Use gradle wrapper. 2014-10-18 14:58:10 +03:00
LICENSE Change license to MPLv2. 2015-03-17 22:27:50 +01:00
lint.xml Lint fixes. 2014-10-18 13:09:48 +03:00
proguard-android.txt Enable TLS for the WebGUI 2015-04-23 08:03:43 +02:00
README.md Update build status link in README 2015-04-06 22:40:24 +02:00
settings.gradle Use PreferenceFragments with a wrapper instead of SettingsFragments (fixes #64). 2014-09-25 02:28:04 +03:00

syncthing-android

Build Status tip for next commit

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.

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 Support Repository

Build instructions

Use ./gradlew assembleDebug in the project directory to compile the APK.

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 include the native syncthing binaries:

  • Download the syncthing-linux-386 and syncthing-linux-arm archives from syncthing releases and extract them. In each there is a syncthing executable. Rename and place both of these to libs/x86/libsyncthing.so and libs/armeabi/libsyncthing.so respectively.
    You will also need to replace the standard build.gradle file with this one.

Development Notes

It is recommended to change the GUI and Listen Address ports for the debug app, eg to 8081 and 22001 respectively.

The syncthing backend used for this android application provides a web interface by default. It can be accessed via the Settings menu -> 'Web GUI'. It is quite helpful to access this web interface from your development machine. Read android documentation on how to access the network of your emulator. Or use the following steps to connect to the single currently running emulator/AVD.

  • telnet localhost 5554
  • redir add tcp:18080:8080
  • Start syncthing app on your emulator and access the web interface from you favorite browser of your development machine via http://127.0.0.1:18080

License

The project is licensed under the MPLv2.