| 1 |
<?xml version="1.0"?> |
| 2 |
<template |
| 3 |
format="5" |
| 4 |
revision="3" |
| 5 |
name="Service" |
| 6 |
description="Creates a new service component and adds it to your Android manifest."> |
| 7 |
|
| 8 |
<category value="Service" /> |
| 9 |
|
| 10 |
<parameter |
| 11 |
id="className" |
| 12 |
name="Class Name" |
| 13 |
type="string" |
| 14 |
constraints="class|unique|nonempty" |
| 15 |
default="MyService" /> |
| 16 |
|
| 17 |
<parameter |
| 18 |
id="isExported" |
| 19 |
name="Exported" |
| 20 |
type="boolean" |
| 21 |
default="true" |
| 22 |
help="Whether or not components of other applications can invoke the service or interact with it" /> |
| 23 |
|
| 24 |
<parameter |
| 25 |
id="isEnabled" |
| 26 |
name="Enabled" |
| 27 |
type="boolean" |
| 28 |
default="true" |
| 29 |
help="Whether or not the service can be instantiated by the system" /> |
| 30 |
|
| 31 |
<globals file="globals.xml.ftl" /> |
| 32 |
<execute file="recipe.xml.ftl" /> |
| 33 |
|
| 34 |
</template> |