Tuesday, July 26, 2011

[android-developers] Service to Activity Messanger? or Another way to show dialogs from service

Hi

I have a service that i use to get data from a DB. If there is a problem i want to send a message from my service to my activity to show a popup dialog (Or even a progress dialog if it is fetching data that the activity should wait for). How can i do this i can only find example of how to send from the activity to the service because the messanger can be returned in by onBind().

Thanks in advance

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

No comments:

Post a Comment