Tuesday, August 10, 2010

[android-developers] Re: How do I know current run Activity name?

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate