Hi...I've got a service that uses the Asmack library to talk XMPP. The class is an extension of Service, that implements the Asmack MessageListener interface, so it's hit when a message comes in.
I can make both toast and notifications from onCreate(). I can make both toast and notifications from onStartCommand(). But I can't make toast from the processMessage() method that's called by Asmack when a message comes in. The method gets called; I can make notifications from it. Just not toast. I've tried both using "this" and saving "this" in an object field. Is it a thread issue? I don't get why notifications would work from a thread and not toast. Any ideas? Thanks... -- 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

