I write android demo I want use service put message current app,but servie
don't know current app name.so I want that.


2010/8/11 Kumar Bibek <coomar....@gmail.com>

> Why exactly would you want to do that? If you want to pass some
> message from the service to the Activity, it should be done in a
> different way.
>
> Register your activity to listen to a particular kind of broadcast
> which the service would send with the message, and so whatever you
> need to do.
>
> -Kumar Bibek
> http://techdroid.kbeanie.com
>
> On Aug 11, 10:19 am, CaryWang <wangjf...@gmail.com> wrote:
> > I have Service,Sometimes current run Activity work in background I don't
> > want to know. I want to know current work interface  Activity name?
> >
> > --
> > Cary
>
> --
> 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+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Cary

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to