Android : I serach for a tutorial how i can write a Android Service that provide a TCP-Socet for the App

on Friday, April 17, 2015


I will write a android app that can communicate with my server over the TCP Protocol an the port 2147.


The problem is if i close the App the Socet will be destroyed. I need a Servie that runs in the background evry time.


I've implementet a simple service class and give my app the autorun permission, it work's finde but i've problems to implement the TCP functionallity inside the Service class. I need help.


0 comments:

Post a Comment