summaryrefslogtreecommitdiff
path: root/src/help/studio_help/src/topics/u_new-broadcast-receiver.dita
blob: 43bc907cd87ca4f8451c979009e7f685e4df0858 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "../dtd/reference.dtd">
<reference id="u_new-broadcast-receiver" xml:lang="en-us">
  <title>New Broadcast Receiver wizard</title>
  <shortdesc> Creates a new Android broadcast receiver.</shortdesc>
  <prolog>
    <metadata>
      <keywords>
        <!--<indexterm></indexterm>-->
      </keywords>
    </metadata>
  </prolog>
  <refbody>
    <section>
      <simpletable>
        <strow>
          <stentry><uicontrol>Source folder</uicontrol></stentry>
          <stentry>The folder into which the source code for the new broadcast receiver is to be stored. By default this
            is the current project's src folder.</stentry>
        </strow>
        <strow>
          <stentry><uicontrol>Package</uicontrol></stentry>
          <stentry>The package that is to contain the new broadcast receiver. By default this is the current project's
            package.</stentry>
        </strow>
        <strow>
          <stentry><uicontrol>Name</uicontrol></stentry>
          <stentry>The name to be used for the class that implements the broadcast receiver. This should be a simple,
            non-qualified name.</stentry>
        </strow>
        <strow>
          <stentry><uicontrol>Label</uicontrol></stentry>
          <stentry>(optional) The label for the broadcast receiver. Note that if you specify a label, the New Broadcast
            Receiver wizard creates a string resource to hold this value. If the <uicontrol>Default</uicontrol> option
            is selected, a label is not set for this broadcast receiver (the Label field is not editable); the
            application's label is used instead.</stentry>
        </strow>
        <strow>
          <stentry><uicontrol>Superclass</uicontrol></stentry>
          <stentry>The class from which the broadcast receiver inherits. For broadcast receivers, this is <codeph
              >android.app.BroadcastReceiver</codeph>.</stentry>
        </strow>
        <strow>
          <stentry><uicontrol>Permission</uicontrol></stentry>
          <stentry>(optional) Permissions that should be added to the project's manifest file due to this broadcast
            receiver. Click <uicontrol>Add</uicontrol> to display a list of possible permissions from which you can
            select.</stentry>
        </strow>
        <strow>
          <stentry><uicontrol>Action</uicontrol></stentry>
          <stentry>(optional) The actions to be performed by an intent filter associated with this broadcast receiver.
            Click <uicontrol>Add</uicontrol> to select from the available actions.</stentry>
        </strow>
        <strow>
          <stentry><uicontrol>Category</uicontrol></stentry>
          <stentry>(optional) The associated intent filter's categories. Click <uicontrol>Add</uicontrol> to select from
            the available categories.</stentry>
        </strow>
      </simpletable>
    </section>
  </refbody>
</reference>