Saturday, January 19, 2013

Re: [android-developers] Main Activity/Service Communication

I'm concerned about the overhead with this mechanism.

Also not too sure how to notify the service of a new job.

If the foreground activity and service share an object - i assume i can
use standard java synchronization - i.e. wait() and notifyall() etc.


On Saturday, January 19, 2013 2:03:24 PM UTC-5, TreKing wrote:
On Sat, Jan 19, 2013 at 7:15 AM, dashman <erjd...@gmail.com> wrote:
Suggestions?

Have your Service send a Broadcast when it's done, then Receive it appropriately.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

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