On Tue, Dec 21, 2010 at 1:00 AM, JC <[email protected]> wrote:
> Yes i realize that too. that Service::OnCreate and OnDestroy is called
> after Activity::OnCreate and OnDestroy always.
>
> Then what/how can we get resultant data from service ?

What is "resultant data"?

Your service can communicate with the activity via a PendingIntent
from createPendingResult(), or a broadcast Intent, or a Messenger
object, etc., any of which can be passed as an extra in the Intent you
supply via startService().

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

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