What I should use, Service or IntentService?

Put your problem here if it does not fit any of the other categories.

What I should use, Service or IntentService?

Postby Sepho » Wed Apr 13, 2011 10:48 am

Hi guys,

I need to create a service to wait for incomming data in my DatagramSocket, and then, start to receive data from this socket and save it into variables that will be shared to anohter Activity later. What's the best solution to do this, Service or IntentService? I think IntentService is easiest but I don't know if it's possible to do my work with this kind of service.

User avatar
Posts: 9
Joined: Sat Dec 18, 2010 3:22 pm


Return to Other Coding-Problems

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 7 guests