Network IPC Service

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Network IPC Service

Postby ITechJunkie » Sun Sep 13, 2009 6:50 pm

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:

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.
Once Poster
Once Poster
Posts: 1
Joined: Fri Jan 16, 2009 3:22 am


Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 2 guests