Hi All,

Hope all are doing good..
I am facing one confusing situation.
As per the documentation of bindservice we can bind multipe time to a
remote service.

In my case I have one service i bind it in onCreate() and onResume() as
well.
in onResume() i have a check and then bind it.

but when my activity get destroyed there is an ANR happening in remote
service.
nobody else bind to it.

After debugging much I removed one bind in onresume() and then tried, now
there is no ANR.
I am confused why the problem got solved.

Please share your thoughts on this.

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

Reply via email to