setPackage for intent in gingerbread
According to the android documentation : Alternatively, starting with ICE_CREAM_SANDWICH, you can also safely restrict the broadcast to a single application with Intent.setPackage Is there any way in Gingerbread (using the compatibility library perhaps) to restrict a sendBroadcat() event such that it only sends it to a specified package? My first suggestion would be to use LocalBroadcastManager if at all possible. This allows you to completely ignore any security issues. If you really do need to send the broadcast from one app to another, it is indeed true that registerReceiver() did not