Babasaheb wrote: > Let me rephrase the question: I have an activity which has two > modules.
What is a "module"? > Both the modules calls same 'action method' from a service. What is an "action method"? > In the 'action method' a thread will be created which starts a > background process. I really truly hope you are not starting a background *process*. > When that process is completed an intent (say > 'resultIntent') will be sent. Do you mean the Intent will be broadcast? There is no concept of simply "sending" an Intent. > I want that intent to be received by the > specific module that called the 'action method' in the activity. Why not just pass a callback object into the "action method" that the thread uses when the work is completed? > I > want the two modules to have different methods for handling the > 'resultIntent'. I don't want to use a switch case in broadcast > receiver for disptching the 'resultIntent' to the respective module. How precisely do you expect to receive a broadcast Intent without a BroadcastReceiver? > Is it Possible? Probably not, because you have chosen a mutually exclusive set of conditions, as far as I can tell. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! -- 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

