Straight forward question:
Is an IntentService declared in the Android Manifest as a regular service, or is there another way? It tried searching for it, but I couldn't find the answer.
Here is the regular Service declaration:
<service
android:name=".NameOfService">
</service>
Thanks
In your manifest you declare a service with
android:name=".Communication"
, this means that your service class should be located incom.exercise.AndroidClient.Communication
Check that the packages are correct. Note that the "." (dot) refers to the root of your package (ie the package declared in the manifest). So, for example, if your package is
com.exercise.AndroidClient
and your service class is undercom.exercise.AndroidClient.services.Communication
you need to declare the service like this:Or specify the full package:
Nothing different same as a regular one
Here is mine
If yours is not working try something like
EDIT
When you go to settings >> application >> running services the list of running services will be displayed.
The android:icon will be thumb image
and androin:label will be the display text