JLibtorrent and Android Storage Access Framework

Creative and useful discussions about anything involving the world of peer-2-peer.
xarrange
Member
Posts: 2
Joined: Sun Sep 04, 2016 5:52 am

JLibtorrent and Android Storage Access Framework

Postby xarrange » Sun Sep 04, 2016 7:06 am

Hello,

Are there any plans to support subj?

User avatar
gubatron
Development Team
Posts: 1518
Joined: Wed Apr 05, 2006 12:23 am
Contact:

Re: JLibtorrent and Android Storage Access Framework

Postby gubatron » Wed Sep 14, 2016 11:41 am

subj? what is that?

We do support the Android Storage Access Framework through a Posix Wrapper, you can read it on FrostWire for Android's code base, which uses JLibtorrent.

If you use the official jlibtorrent binaries previous versions compiled with gcc used `--wrap` so we could interchange the posix file system code from libtorrent and wrap them with our Android Storage Access Framework compatible wrappers.

But now we switched to clang as the android toolchain is pretty much switching everything to clang, so now all we do is have functions/symbols with the same exact names.

See here how we wrap, open(), stat(), mkdir(), etc.
https://github.com/frostwire/frostwire- ... ent.h#L320
Got Android? Try the new FrostWire for Android
http://frostwire.com/android


Return to “Open Discussion”

Who is online

Users browsing this forum: No registered users and 9 guests