You really should have the pending intent deliver directly to an intent receiver component you have declared in your manifest (set the component of the pending intent to that component). If you don't want other apps to be able to access that receiver, just don't declare any intent filters (or explicitly make the component non-exported).
--
Dianne Hackborn
Android framework engineer
hackbod@android.com
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.
On Thu, Oct 29, 2009 at 11:11 AM, Loki117 <thomas.shepparduk@gmail.com> wrote:
Morning all,
I've started using an AlarmManager for some tasks i'm doing and while
setting up the pendingIntent to be broadcast I noticed there is no
receiverPermission option. Can anyone tell me is it possible to set
the receiver permission on a pendingIntent?
Tom
--
Dianne Hackborn
Android framework engineer
hackbod@android.com
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment