1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-26 12:51:28 +00:00
Wrapper of syncthing for Android.
Find a file
kDot 03b0f812b7 Update README.md
Another small update of the documentation
2014-08-20 14:03:30 +02:00
graphics new icons 2014-08-09 01:35:14 +02:00
src/main Avoid the same node being added multiple times (fixes #65). 2014-08-17 22:26:20 +02:00
.gitignore Moved build to gradle. 2014-05-12 18:54:26 +02:00
build-native.sh Adjust build process for syncthing v0.9.0 (binary moved, fixes #72). 2014-08-06 16:15:44 +02:00
build.gradle Adjust build process for syncthing v0.9.0 (binary moved, fixes #72). 2014-08-06 16:15:44 +02:00
CONTRIBUTING.md Added contributing instructions. 2014-05-31 18:05:25 +02:00
LICENSE Added MIT license. 2014-05-05 23:52:51 +02:00
README.md Update README.md 2014-08-20 14:03:30 +02:00

syncthing-android

A wrapper of syncthing for Android.

Get it on Google Play

Building

To get syncthing app for android running on you device/emulator the native syncthing binary has to be available. There are multiple ways to get the native syncthing binary:

  • open a syncthing apk (the one taken from the play store) running on your device as a zip, extract the lib/ folder into your project directory and rename it to libs/.
  • Depending on your target architecture, download syncthing-linux-386, syncthing-linux-armv5, syncthing-linux-armv7 or syncthing-linux-mips from syncthing releases, and extract the binary to libs/x86/libsyncthing.so, libs/armeabi-v7a/libsyncthing.so, libs/armeabi/libsyncthing.so or libs/mips/libsyncthing.so respectively.
  • Set up a syncthing compile and run gradle buildNative in your syncthing-android directory.

Then, run gradle assembleDebug.

Development Notes

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 a shortcut by executing the following steps (assuming you have only one emulator/avd started)

  • telnet localhost 5554
  • redir add tcp:18080:8080
  • Start synchting 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

All code is licensed under the MIT License.