This is native Android TorService built on the Tor shared library built for
Android. It is designed around the Android lifecycle. The included libtor.so
binaries can also be used directly as a tor daemon. This is used in
Orbot,
TorServices,
OnionShare, and more.
TorService for running Tor in a background serviceThe binary jar, source jar, and javadoc jar are all available on jcenter. To include them using gradle, add this line to your build.gradle:
implementation 'info.guardianproject:tor-android:0.4.7.14'
Otherwise, the files can also be downloaded directly from jcenter, including the PGP signatures: