hi Dianne,

I see following message while installing my app. Any reason for this?. In
the same manifest file I mentioned permission for receiver (
android:permission="com.suku.
test").

03-12 11:35:12.945: WARN/PackageManager(1215): Unknown permission
com.suku.test in package com.suku.HelloWorld

Regards,
Sukumar.



On Fri, Mar 12, 2010 at 10:51 AM, Dianne Hackborn <[email protected]>wrote:

> Your app apparently does not have that permission.  Are there any messages
> printed in the log when installing it saying why it was not granted?
>
> On Thu, Mar 11, 2010 at 9:11 PM, sukumar bhashyam <
> [email protected]> wrote:
>
>> 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]<android-developers%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
>
>  --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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

Reply via email to