Home | History | Annotate | Download | only in BroadcastReceiver
      1 <?xml version="1.0"?>
      2 <template
      3     format="1"
      4     revision="1"
      5     name="Broadcast Receiver"
      6     description="Creates a new broadcast receiver component and adds it to your Android manifest.">
      7 
      8     <parameter
      9         id="className"
     10         name="Class Name"
     11         type="string"
     12         constraints="class|unique|nonempty"
     13         default="MyReceiver" />
     14 
     15     <parameter
     16         id="isExported"
     17         name="Exported"
     18         type="boolean"
     19         default="true"
     20         help="Whether or not the broadcast receiver can receive messages from sources outside its application" />
     21 
     22     <parameter
     23         id="isEnabled"
     24         name="Enabled"
     25         type="boolean"
     26         default="true"
     27         help="Whether or not the broadcast receiver can be instantiated by the system" />
     28 
     29     <globals file="globals.xml.ftl" />
     30     <execute file="recipe.xml.ftl" />
     31 
     32 </template>
     33