Perfect! Not sure why I didn't think of that initially. Thanks Mark!

On Jun 8, 3:53 pm, Mark Murphy <[email protected]> wrote:
> Jeremy wrote:
> > I was wondering if it was possible to have an intent that would fire
> > off a notification. I need this because I'm running a service that has
> > proximityAlerts registered on a LocationManager and I would like to
> > have it so that when one of these alerts is triggered, a notification
> > shows up in the status bar. I wish there was a way to just fire a
> > function rather than using an intent here, but I don't think there is.
> > Any help is appreciated!!
>
> Just create a little BroadcastReceiver that sets up your Notification,
> and use a PendingIntent set to invoke that receiver.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_
> Version 1.6 Available!

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