I currently have a service called ConnectionService. It instantiates a
Connection object that gives me access to a controller of TCP.

I start the service from a splash screen activity, which sends and
intent and starts my "main" activity once a connection has been
established. In the "main" activity, I can access my Connection object
and communicate with the controller. However, when I start a new
activity from the "main" activity and bind to the service, I get a
NullPointerException when I try to call methods in the
ConnectionService.

I've been struggling with this for a few days now. Perhaps it's a
weakness in my Java comprehension.

Thanks,
J

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to