I2P Address: [http://git.idk.i2p]

Skip to content

Allow third-party apps to start I2P on Android via a Bradcast Intent

Ryemantis requested to merge Ryemantis/i2p.android.base:remote-start into master

These changes include a broadcast receiver which allows 3rd-party apps to start the I2P router if inactive by broadcasting net.i2p.android.router.receiver.START_I2P. An example of a 3rd-party broadcast is referenced here: http://git.idk.i2p/Ryemantis/i2p-remote/-/blob/main/app/src/main/java/com/example/remotestarti2p/MainActivity.java

This fixes issue #39 (closed)

Changes also included an minor unrelated adjustment to MainFragment.java which changes intent.setFlags() to intent.addFlags() which is safer to use since setFlags may overwrite any possible flags set before it while addFlags will append new flags.

Merge request reports

Loading