1

Start an Android Service without the .class

view story
linux-howto

http://stackoverflow.com – I am looking for a way to start an Android-Service without the class. I found many examples like: startService(new Intent(this, TheService.class)); I don't want to put the service class in it and still have the service running till I stop it manually. I don't need to have the Interface of the service, because it only should open some Sockets without any parameters. The service running time should not depend on the running time of an App: The first App which needs the Service should start it and than it should run until it is stopped manually. So I can't use BroadcastReceiver because they (HowTos)