On 13/01/16 16:04, Nathan Freitas wrote:
On Tue, Jan 12, 2016, at 11:52 AM, Michael Rogers wrote:
On 12/01/16 16:16, Nathan Freitas wrote:
The broader idea is to determine which Tor torrc settings are relevant to the mobile environment, and that could use a more intuitive user interface than the empty text input we currently offer in our Settings panel. This may also mean implement a slider type interface mechanism similar to Tor Browser. In addition, users are interested in being able to control which network types (wifi vs 3g) Orbot runs on, in order to conserve spending on bandwidth.
Briar's TorPlugin has an option to disable Tor when using mobile data, feel free to backport it to Orbot. Likewise for the plugin as a whole, if it would be a suitable basis for LibOrbot. We've benefitted a lot from your work and I'd love to send some contributions back upstream!
Is TorPlugin already a distinct library / module?
It's not, but it should be easy to separate, especially if you only need to run on Android. An earlier version of TorPlugin was forked into an Android/J2SE library by the Thali project, but I'd recommend starting from the current version of the plugin.
https://github.com/thaliproject/Tor_Onion_Proxy_Library
Cheers, Michael