I have been experimenting with an easy way to execute "synch" type bursts 
without all the hassle of Services, Loaders, Threads, etc.  I have come up 
with a technique that works great, but I'd like to get a consensus 
regarding the pattern.  I am performing sendBroadcast("synch.my.app") from 
the activity needing an update.  This same activity is registering a 
broadcast receiver registerReceiver(payload, new 
IntentFilter("here.is.the.json")) which is being notified from the 
"synch.my.app" receiver.  In other words, my broadcastreceiver is calling 
me back once it has the data.  Is this crazy?  I'm simply poking my json 
payload into the intent before sending broadcast back to activity.

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