Hi Dianne!

Thanks for the help! That was exactly what I was looking for!

For anyone else you can also refer to the following thread:
http://groups.google.com/group/android-developers/browse_thread/thread/40753eb1b312f4ab/f90bfb98f109de52?lnk=gst&q=registerReceiver#f90bfb98f109de52

-Moto

On Jan 11, 10:04 pm, Dianne Hackborn <[email protected]> wrote:
> Context.registerReceiver() is probably what you are looking for.
>
>
>
> On Mon, Jan 11, 2010 at 6:19 PM, Moto <[email protected]> wrote:
> > Any help?  Let me know if I'm not making clear what I'm trying to
> > do.... :P
>
> > On Jan 11, 6:24 pm, Moto <[email protected]> wrote:
> > > I'm trying to catch an action like ACTION_HEADSET_PLUG.  But I think
> > > it might be too much to set this action on the manifest file.
>
> > > How could I register a listener for this action?  I only need to care
> > > about it when my application is running not all the time as I think it
> > > would happen when registering it under the manifest file...
>
> > > Thanks!
> > > -Moto!
>
> > --
> > 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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to