| 1 |
<?xml version="1.0"?> |
| 2 |
<template |
| 3 |
format="5" |
| 4 |
revision="3" |
| 5 |
name="Service (IntentService)" |
| 6 |
description="Creates a new intent service class." |
| 7 |
minApi="3" |
| 8 |
minBuildApi="3"> |
| 9 |
|
| 10 |
<category value="Service" /> |
| 11 |
|
| 12 |
<parameter |
| 13 |
id="className" |
| 14 |
name="Class Name" |
| 15 |
type="string" |
| 16 |
constraints="class|unique|nonempty" |
| 17 |
default="MyIntentService" /> |
| 18 |
|
| 19 |
<parameter |
| 20 |
id="includeHelper" |
| 21 |
name="Include helper start methods?" |
| 22 |
type="boolean" |
| 23 |
default="true" |
| 24 |
help="Generate static helper methods to start the service e.g. MyIntentService.startAction()" /> |
| 25 |
|
| 26 |
<globals file="globals.xml.ftl" /> |
| 27 |
<execute file="recipe.xml.ftl" /> |
| 28 |
|
| 29 |
</template> |