Hey guys, I'm in the middle of trying to write an IPC service that will handle the network connections for my app.
I've got my IPC service set up right and now I'm adding in the network code.
My service's onCreate method calls a new object that I've set up to handle my connection: http://pastebin.com/m23d7855d
I can connect to the server socket just fine. However, when I run my "Listener" thread to receive messages I don't get anything.
It also seems to disrupt something in my ServiceController when I attempt to call a function in my service.
I've looked all over the place and I haven't found a post/article anywhere that says that I'm doing it wrong or right. I'd like some input from some android coding vets out there. Is there a more efficient way to handle network connections in a service?
Thanks for taking a look at this and I'm sorry if I didn't explain it all quite right. I'm still trying to pin some of these concepts down.


