On Tue, Jul 6, 2010 at 11:43 PM, Bret Foreman <[email protected]> wrote:
> I think I may be confused about how these two methods are related. My
> bind code looks something like this:
>
> bindService(new Intent(myActivity.this,
>                    myService.class), myServiceConnection,
> Context.BIND_AUTO_CREATE));
>
> Now, when I call this, the onServiceConnected method of
> myServiceConnection is never getting called, despite the fact that
> bindService is returning a true value as if it was successful. I know
> that these activities are asynchronous but I'm not see
> onServiceConnected getting called even after some time has passed.
>
> Any ideas on where I should look for the problem?

Look for LogCat messages in adb logcat, DDMS, or the DDMS perspective
in Eclipse.

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

_Android Programming Tutorials_ Version 2.8 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to