• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2013 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<!-- Declare the contents of this Android application.  The namespace
18     attribute brings in the Android platform namespace, and the package
19     supplies a unique name for the application.  When writing your
20     own application, the package name must be changed from "com.example.*"
21     to come from a domain that you own or have control over. -->
22<manifest xmlns:android="http://schemas.android.com/apk/res/android"
23    package="com.example.android.injector">
24    <application android:label="My Setting Activity!">
25        <activity android:name="MySettingActivity">
26            <intent-filter>
27                <action android:name="android.intent.action.MAIN"/>
28                <category android:name="android.intent.category.LAUNCHER"/>
29            </intent-filter>
30        </activity>
31
32        <service android:name="com.example.android.injector.MyInjectorService" >
33            <intent-filter>
34                <action android:name="android.location.SettingInjectorService" />
35            </intent-filter>
36
37            <meta-data
38                android:name="android.location.SettingInjectorService"
39                android:resource="@xml/my_injected_location_setting" />
40        </service>
41
42        <service android:name="com.example.android.injector.DisabledInjectorService" >
43            <intent-filter>
44                <action android:name="android.location.SettingInjectorService" />
45            </intent-filter>
46
47            <meta-data
48                android:name="android.location.SettingInjectorService"
49                android:resource="@xml/disabled_injected_location_setting" />
50        </service>
51
52        <service android:name="com.example.android.injector.FailingInjectorService" >
53            <intent-filter>
54                <action android:name="android.location.SettingInjectorService" />
55            </intent-filter>
56
57            <meta-data
58                android:name="android.location.SettingInjectorService"
59                android:resource="@xml/failing_injected_location_setting" />
60        </service>
61
62        <service android:name="com.example.android.injector.SlowInjectorService" >
63            <intent-filter>
64                <action android:name="android.location.SettingInjectorService" />
65            </intent-filter>
66
67            <meta-data
68                android:name="android.location.SettingInjectorService"
69                android:resource="@xml/slow_injected_location_setting" />
70        </service>
71
72        <service android:name="com.example.android.injector.UpdatingInjectorService" >
73            <intent-filter>
74                <action android:name="android.location.SettingInjectorService" />
75            </intent-filter>
76
77            <meta-data
78                android:name="android.location.SettingInjectorService"
79                android:resource="@xml/updating_injected_location_setting" />
80        </service>
81
82    </application>
83</manifest>
84