feat: add Android APK with embedded I2P browser and torrent manager
- Add an Android app (org.mooni2p.browser) with an I2P WebView browser defaulting to insulaocculta.i2p, bookmarks, and a diagnostics dialog. - Run the router in a foreground service and add a Torrents & DHT tab backed by the router API (manager.html). - Handle magnet links and .torrent files from intents, the file picker, and .i2p downloads. - Add scripts/build_apk.py and a `just apk` target that builds arm64-v8a and x86_64 APKs. - Document the APK build and install steps in the README. - Include related bittorrent, router, streaming, and ntcp2_net updates.
This commit is contained in:
1 parent
fbe6818c4e
commit
7a1b4325f9
16 files changed
+3041
-78
No files matched your search
@@ -119,6 +119,11 @@ test "Peer wire framing, BEP 10/9, i2p_pex, i2p_dht, and chunked I2P HTTP tracke
|
||||
Bitfield(b"\x80"),
|
||||
Request(1, 0, 16384),
|
||||
Piece(1, 0, b"payload-bytes"),
|
||||
SuggestPiece(3U),
|
||||
HaveAll,
|
||||
HaveNone,
|
||||
RejectRequest(2, 16384, 16384),
|
||||
AllowedFast(5U),
|
||||
Extended(b'\x00', @bittorrent.encode_ext_handshake(metadata_size=Some(512))),
|
||||
Extended(b'\x03', @bittorrent.encode_i2p_dht_ext(6881U, 6882U)),
|
||||
]
|
||||
@@ -141,6 +146,7 @@ test "Peer wire framing, BEP 10/9, i2p_pex, i2p_dht, and chunked I2P HTTP tracke
|
||||
assert_eq(rext.ut_metadata_id, Some(b'\x02'))
|
||||
assert_eq(rext.i2p_dht_id, Some(b'\x03'))
|
||||
assert_eq(rext.metadata_size, Some(512))
|
||||
assert_eq(rext.client_name, "moon-i2p/0.1")
|
||||
assert_eq(
|
||||
@bittorrent.decode_i2p_dht_ext(@bittorrent.encode_i2p_dht_ext(6881U, 6882U)),
|
||||
Some((6881U, 6882U)),
|
||||
|
||||
Reference in new issue
Block a user