blob: 48f6fadcd77454c3636f21fe624a10e2f7056f10 [file] [log] [blame]
Megha Joshi00bf0f02009-11-18 14:54:03 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/**
4 * Copyright (c) 2010, The Android Open Source Project
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19<manifest
20 xmlns:android="http://schemas.android.com/apk/res/android"
21 package="com.example.android.samplesync"
22 android:versionCode="1"
23 android:versionName="1.0">
24 <uses-permission
25 android:name="android.permission.GET_ACCOUNTS" />
26 <uses-permission
27 android:name="android.permission.USE_CREDENTIALS" />
28 <uses-permission
29 android:name="android.permission.MANAGE_ACCOUNTS" />
30 <uses-permission
31 android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
32 <uses-permission
33 android:name="android.permission.INTERNET" />
34 <uses-permission
35 android:name="android.permission.WRITE_SETTINGS" />
36 <uses-permission
37 android:name="android.permission.WRITE_SECURE_SETTINGS" />
38 <uses-permission
39 android:name="android.permission.READ_CONTACTS" />
40 <uses-permission
41 android:name="android.permission.WRITE_CONTACTS" />
42 <uses-permission
43 android:name="android.permission.READ_SYNC_STATS" />
44 <uses-permission
45 android:name="android.permission.READ_SYNC_SETTINGS" />
46 <uses-permission
47 android:name="android.permission.WRITE_SYNC_SETTINGS" />
Robert Ly74c18362012-01-09 17:30:09 -080048 <uses-permission
49 android:name="android.permission.READ_SOCIAL_STREAM" />
50 <uses-permission
51 android:name="android.permission.WRITE_SOCIAL_STREAM" />
Raphael Molla3dc6742010-11-22 12:39:47 -080052
Robert Ly74c18362012-01-09 17:30:09 -080053 <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="15" />
Makoto Onuki23e15c52011-07-26 13:17:35 -070054
Megha Joshi00bf0f02009-11-18 14:54:03 -080055 <application
56 android:icon="@drawable/icon"
57 android:label="@string/label">
58 <!-- The authenticator service -->
59 <service
60 android:name=".authenticator.AuthenticationService"
61 android:exported="true">
62 <intent-filter>
63 <action
64 android:name="android.accounts.AccountAuthenticator" />
65 </intent-filter>
66 <meta-data
67 android:name="android.accounts.AccountAuthenticator"
68 android:resource="@xml/authenticator" />
69 </service>
70 <service
71 android:name=".syncadapter.SyncService"
72 android:exported="true">
73 <intent-filter>
74 <action
75 android:name="android.content.SyncAdapter" />
76 </intent-filter>
77 <meta-data
78 android:name="android.content.SyncAdapter"
79 android:resource="@xml/syncadapter" />
80 <meta-data
81 android:name="android.provider.CONTACTS_STRUCTURE"
82 android:resource="@xml/contacts" />
83 </service>
Daniel Lehmannaf2e1dc2011-08-09 13:42:08 -070084 <!-- The view notification service -->
85 <service
86 android:name=".notifier.NotifierService"
87 android:exported="true">
88 <!--
89 No intent-filter here! This activity is only ever launched by
90 someone who explicitly knows the class name
91 -->
92 </service>
Megha Joshi00bf0f02009-11-18 14:54:03 -080093 <activity
94 android:name=".authenticator.AuthenticatorActivity"
95 android:label="@string/ui_activity_title"
96 android:theme="@android:style/Theme.Dialog"
97 android:excludeFromRecents="true"
John Evans15ef1a82011-04-04 13:38:01 -070098 android:configChanges="orientation"
Megha Joshi00bf0f02009-11-18 14:54:03 -080099 >
100 <!--
101 No intent-filter here! This activity is only ever launched by
102 someone who explicitly knows the class name
103 -->
104 </activity>
John Evans15ef1a82011-04-04 13:38:01 -0700105
106 <activity
Daniel Lehmann1cf776a2011-09-29 17:08:36 -0700107 android:name=".activites.InviteContactActivity"
108 android:theme="@android:style/Theme.Dialog">
Makoto Onuki23e15c52011-07-26 13:17:35 -0700109 <!--
110 We use the INVITE intent to add a raw contact to an existing contact.
111 It always comes with a lookup URI.
112 -->
113 <intent-filter>
114 <action
115 android:name="com.android.contacts.action.INVITE_CONTACT" />
116 <data
117 android:mimeType="vnd.android.cursor.item/contact" />
118 </intent-filter>
John Evans15ef1a82011-04-04 13:38:01 -0700119 </activity>
Daniel Lehmann1cf776a2011-09-29 17:08:36 -0700120
121 <activity
122 android:name=".activities.ViewGroupActivity"
123 android:theme="@android:style/Theme.Dialog">
124 <!--
125 We use the VIEW intent to view a group in our app.
126 It always comes with a lookup URI.
127 -->
128 <intent-filter>
129 <action
130 android:name="android.intent.action.VIEW" />
131 <data
132 android:mimeType="vnd.android.cursor.item/group" />
133 </intent-filter>
134 </activity>
135
136 <activity
137 android:name=".activities.ViewStreamItemActivity"
138 android:theme="@android:style/Theme.Dialog">
139 <!--
140 We use the VIEW intent to view a stream item in our app.
141 It always comes with a lookup URI.
142 -->
143 <intent-filter>
144 <action
145 android:name="android.intent.action.VIEW" />
146 <data
147 android:mimeType="vnd.android.cursor.item/stream_item" />
148 </intent-filter>
149 </activity>
150
151 <activity
152 android:name=".activities.ViewStreamItemPhotoActivity"
153 android:theme="@android:style/Theme.Dialog">
154 <!--
155 We use the VIEW intent to view a stream item photo in our app.
156 It always comes with a lookup URI.
157 -->
158 <intent-filter>
159 <action
160 android:name="android.intent.action.VIEW" />
161 <data
162 android:mimeType="vnd.android.cursor.item/stream_item_photo" />
163 </intent-filter>
164 </activity>
Megha Joshi00bf0f02009-11-18 14:54:03 -0800165 </application>
Raphael Molla3dc6742010-11-22 12:39:47 -0800166</manifest>