Android – Permission denial on BroadCast SMS intent


can my activity broadcast this intent from itself

Intent i = new Intent("android.provider.Telephony.SMS_RECEIVED");


I am able to send this broadcast and receive it back (from a broadcast receiver setup in the application) , but this is not a global broadcast , i.e. it is not received by the default SMS application.
furthermore i am getting this error in the logcat

Permission Denial: broadcasting Intent
} from com.smartanuj.scale (pid=3572,
uid=10029) requires
android.permission.BROADCAST_SMS due
to receiver

I have already specified

 <uses-permission> android:name="android.permission.BROADCAST_SMS"></uses-permission>

in my manifest file

Best Solution

Only applications signed with the system key may broadcast the arrival of new SMS messages.

Related Question