From one application I am (broadcast) sending an intent to a broadcastreceiver of another one. I am getting the error:
WARN/ActivityManager(5038): Permission denied: checkComponentPermission
From one application I am (broadcast) sending an intent to a broadcastreceiver of another one. I am getting the error:
WARN/ActivityManager(5038): Permission denied: checkComponentPermission
You need to add permission under your manifest file add these
Herschel said: " the problem was in the manifest file of the application where the BroadcastReceiver was defined: android:exported should be defined as true"
The solution is to add android:exported="true" to the activity that will be invoked by the intent. Adding it to the receiver, as suggested by another answer, did not work for me, but adding it to the activity did.