Hi, I'm developing an IM app, using Smack api. The Smack Api generates a few threads, and as I have registered a few listeners on the XMPPConnection. Those listeners will have to notify activities, and by definition activities run in a different thread. I have not created a Service for the XMPPConnection, maybe I should have.
I have defined a few managers in the form of singletons that take care of some of the chat functionalities, ie SessionManager, RosterManager and so on. As I understand it, AIDL is for InterProcess Communication, and what I need here is just a way of passing data between Threads. The Activity supposed to show incoming messages does that by passing declaring an inner class implementing a listener interface and passing the relative object to a manger. the manager never manages to call back the activity. What am I supposed to do ? your help will be profoundly appreciated. Luka --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---