There are many examples in StackOverflow and elsewhere that use the LocalBroadcastManager class to avoid broadcast events outside the application.
However, this class uses the Android support library, as shown in the package name: android.support.v4.content.LocalBroadcastManager .
Is there an equivalent of LocalBroadcastManager in a standard SDK that does not use the Android support library?
It doesn't seem like the sendBroadcast method in android.content.Context has this degree of security granularity.
android sdk android-broadcast
Vincent hiribarren
source share