hi All,
I created a broadcast receiver with permission as below,
<receiver android:name=".TestReceiverPermission"
android:permission="com.suku.test">
<intent-filter>
<action android:name="suku.TestReceiverPermission"
/>
</intent-filter>
</receiver>
Also, In my Manifest file, I added uses permission ( <uses-permission
android:name="com.suku.test"/>).
When I try to broadcast Intent, I'm getting the following error,
03-12 10:00:16.484: WARN/ActivityManager(1215): Permission Denial:
broadcasting Intent { act=suku.TestReceiverPermission } from
com.suku.HelloWorld (pid=1649, uid=10081) requires com.suku.test due to
receiver com.suku.HelloWorld/com.suku.HelloWorld.TestReceiverPermission
Any Idea why I'm getting this error?. Any help would be appreciated. Thanks.
Regards,
Sukumar.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en