Ok so I had a look added it to the manifest and it runs under the
context of the Application I need the receiver to run under the
context of a defined service in the manifest file. I had a look at the
manifest docs and it seems you can not assign a receiver to a service
(from what I can see) so now i'm stuck again.

On Oct 29, 3:01 pm, Dianne Hackborn <[email protected]> wrote:
> It is not possible.
>
> 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).
>
> On Thu, Oct 29, 2009 at 11:11 AM, Loki117 <[email protected]>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
> [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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to