We are using Crosswalk as part of a peer to peer web project called Thali [1]. 
We support enabling Android, Linux, Mac and Windows to communicate directly to 
each other via Tor hidden services. Identity is handled via mutual ssl auth and 
self generated certs. Data is synchronized using CouchBase Lite, an embedded 
version of CouchDB. Our primary app development environment is HTML 5. We use 
nanohttpd to serve up the app on the desktop and Crosswalk on Android. The 
developer writes to PouchDB and we then handle replicating the data, managing 
identities, etc.

The reason I'm bothering this group is that we need to be able to embed with 
our Crosswalk clients Tor support. This requires using a custom binary for 
Android (provided by the Guardian project) along with some very Android 
specific logic. We then need to start up the Tor Onion Proxy (OP).  We actually 
released a stand alone library for this purpose that generates both an AAR for 
Android as well as a Jar for Linux, Mac and Windows. [2]

So what we need is from our existing Crosswalk extension [3] to be able to call 
out to the AAR generated in [2] and start up the Tor OP. But this means putting 
in a dependency on the AAR and being able to call it. That doesn't seem 
possible since near as I can tell Crosswalk extensions have to be plain Jars 
and thus can't have dependencies on AARs.

Is there a way to package the AAR with the Crosswalk app and call out to it?

      Thanks,

             Yaron        

[1] http://www.thaliproject.org/mediawiki/index.php?title=Main_Page
[2] https://github.com/thaliproject/Tor_Onion_Proxy_Library
[3] 
https://github.com/thaliproject/ThaliHTML5ApplicationFramework/blob/master/Android/src/main/java/com/msopentech/ThaliClient/ProxyExtensionClient.java

_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to