ndk
ndk copied to clipboard
C++ Wrapper for BroadcastReceiver
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.
Rapper please