Hi,

I am calling a method (say 'action method') of a service from
activity. In that method I am creating a thread which starts some
background process. When that process is complete, an intent (say
'resultIntent') should be sent to activity. Now I want to make sure
that when that intent is received by activity, a specific method (say
'onResultIntentReceived')should handle that, as I can have more than
one methods ('onResultIntentReceived1' and 'onResultIntentReceived2')
to handle that intent depending upon the situation at the time of
calling the service's method. One solution can be somehow registering
the intent handling method with service at the time of calling
service's 'action method'.

Is it possible to send an intent so that a specific action is taken at
receiver side without broadcasting the intent?
Is this correct method?
How can I do that?
Is there any other solution?

Thanks a lot,
Babasaheb

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

Reply via email to