On Thu, Jul 18, 2013 at 3:31 AM, Shiraz Azizali <shiraz.aziz...@gmail.com>wrote:

> Thanks, I'm still unsure how to acheive what I'm after from here, but it's
> a step forward..
>

A simple static boolean flag should suffice. Each component will run in the
main thread initially to start up. First check the flag, if set, abort the
sync, if not, set it, then proceed with background sync, then reset it when
done.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to