On Tue, Feb 1, 2011 at 10:07 AM, Ilja N <[email protected]> wrote:
> The thing I don't get is - how to perform UI refresh in the main activity > (if it's on the foreground) when > MessageSyncBroadcastReceiver gets its job done? > Send another broadcast that your activity dynamically registers for. So when your activity starts up, it registers for that broadcast, when it shuts down, it unregisters. Thus it only gets the message when visible. Also, do you really want to be doing syncing in a broadcast receiver? ------------------------------------------------------------------------------------------------- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

