Hello Guich - typically a Service doesn't have a UI directly attached to it.
I think what might help you is to keep your Service and have it checking for messages. When it gets a message, use a BroadcastReceiver to tell one of your Activities to display. These are the most simple messages between a Service and an Activity. Here is a StackOverflow post about how to implement a BroadcastReceiver inside of an Activity class... http://stackoverflow.com/questions/4555215/android-broadcastreceiver-within-activity Hope this helps! -Matt www.sep.com/mcterry On Wednesday, March 21, 2012 8:46:30 PM UTC-4, guich wrote: > > Hi, > > Can an unbound service have also an user interface? I was thinking in > the implementation of a message receiver. The service would start > minimized, and keep checking for a message, and when it appears, it > would maximize the application and show the message, then minimize > again. > > thanks in advance, > > guich -- 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

