← Back to context

Comment by ihuman

7 months ago

> They're Java-only APIs and since Syncthings core isn't written in Java, the author would have to write JNI glue to call Android when writing/reading files

Syncthing-android is already written in Java, so shouldn't there already be JNI glue code? https://github.com/syncthing/syncthing-android

It's an app that ships with/downloads the synching (go-based) binary. (I am pretty sure this is still the case, I looked at it some years ago)

The actual file monitoring, access nad upload is handled by syncthing cross-platform Go library wrapped with the Java app.