ndk icon indicating copy to clipboard operation
ndk copied to clipboard

C++ Wrapper for BroadcastReceiver

Open xloem opened this issue 4 years ago • 4 comments

BroadcastReceiver's onReceive method is used to receive broadcast Intents after registration for them, but the method is abstract.

It appears that, presently, one needs a Java class to receive broadcast Intents (that it can't be done through JNI), although I am not certain of this. It would be great if there were a way to receive broadcast Intents from native code.

Note that adding java.beans.EventHandler to the Android API might provide for more workarounds to things like this, not certain.

xloem avatar Apr 13 '21 20:04 xloem

Rapper please

jdtreble316 avatar May 05 '21 04:05 jdtreble316