Hi Guys,
             I have an Android Service that runs indefinitely and
wants to notify when a specific interesting event occurs to an
activity. Now the problem is the "interesting event" occurs anytime
and i don't want to "poll" to the service all the time to get that
event... The service itself should "notify" the activity about the
event occuring. I looked around and came across a few methods to do
it.
1) Using Intents and putExtras() : This method wont suffice for me
because i "don't" want to start a new activity all  the time.
2) Using aidl : I already have an aidl for communication between the
service and activity. This is essentially the polling mechanism.
    Is there any other way i can do this?

  Thanks,
    Prafull.

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