Uploading files are protected against removal from other apps
[owncloud:swoelfl-android-devel.git] / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <!-- \r
3   ownCloud Android client application\r
4 \r
5   Copyright (C) 2012  Bartek Przybylski\r
6   This program is free software: you can redistribute it and/or modify\r
7   it under the terms of the GNU General Public License as published by\r
8   the Free Software Foundation, either version 3 of the License, or\r
9   (at your option) any later version.\r
10 \r
11   This program is distributed in the hope that it will be useful,\r
12   but WITHOUT ANY WARRANTY; without even the implied warranty of\r
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
14   GNU General Public License for more details.\r
15 \r
16   You should have received a copy of the GNU General Public License\r
17   along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
18  -->\r
19 <manifest package="com.owncloud.android"\r
20     android:versionCode="103008"\r
21     android:versionName="1.3.8" xmlns:android="http://schemas.android.com/apk/res/android">\r
22 \r
23     <uses-permission android:name="android.permission.GET_ACCOUNTS" />\r
24     <uses-permission android:name="android.permission.USE_CREDENTIALS" />\r
25     <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />\r
26     <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />\r
27     <uses-permission android:name="android.permission.INTERNET" />\r
28     <uses-permission android:name="android.permission.WRITE_SETTINGS" />\r
29     <uses-permission android:name="android.permission.READ_SYNC_STATS" />\r
30     <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />\r
31     <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />\r
32     <uses-permission android:name="android.permission.BROADCAST_STICKY" />\r
33     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />\r
34     <uses-permission android:name="android.permission.READ_PHONE_STATE" />\r
35     <uses-permission android:name="android.permission.READ_LOGS" />\r
36     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>\r
37 \r
38     <uses-sdk\r
39         android:minSdkVersion="8"\r
40         android:targetSdkVersion="13" />\r
41 \r
42     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" >\r
43     </uses-permission>\r
44 \r
45     <application\r
46         android:icon="@drawable/icon"\r
47         android:label="@string/app_name"\r
48         android:theme="@style/Theme.ownCloud"> \r
49         <activity\r
50             android:name=".ui.activity.FileDisplayActivity"\r
51             android:label="@string/app_name">\r
52             <intent-filter>\r
53                 <action android:name="android.intent.action.MAIN" />\r
54 \r
55                 <category android:name="android.intent.category.LAUNCHER" />\r
56             </intent-filter>\r
57         </activity>\r
58         <activity android:name=".ui.activity.UploadFilesActivity">\r
59         </activity>\r
60         <activity android:name=".Uploader" >\r
61             <intent-filter>\r
62                 <action android:name="android.intent.action.SEND" >\r
63                 </action>\r
64 \r
65                 <category android:name="android.intent.category.DEFAULT" >\r
66                 </category>\r
67 \r
68                 <data android:mimeType="*/*" >\r
69                 </data>\r
70             </intent-filter>\r
71             <intent-filter>\r
72                 <action android:name="android.intent.action.SEND_MULTIPLE" >\r
73                 </action>\r
74 \r
75                 <category android:name="android.intent.category.DEFAULT" >\r
76                 </category>\r
77 \r
78                 <data android:mimeType="*/*" >\r
79                 </data>\r
80             </intent-filter>\r
81         </activity>\r
82         <activity\r
83             android:name=".ui.activity.Preferences"\r
84             android:theme="@style/Theme.ownCloud" >\r
85         </activity>\r
86         <activity android:name=".ui.activity.PreferencesNewSessionewSession" >\r
87         </activity>\r
88 \r
89         <service\r
90             android:name=".authenticator.AccountAuthenticatorService"\r
91             android:exported="true">\r
92             <intent-filter>\r
93                 <action android:name="android.accounts.AccountAuthenticator" />\r
94             </intent-filter>\r
95 \r
96             <meta-data\r
97                 android:name="android.accounts.AccountAuthenticator"\r
98                 android:resource="@xml/authenticator" />\r
99         </service>\r
100         <service\r
101             android:name=".syncadapter.FileSyncService"\r
102             android:exported="true" >\r
103             <intent-filter>\r
104                 <action android:name="android.content.SyncAdapter" />\r
105             </intent-filter>\r
106 \r
107             <meta-data\r
108                 android:name="android.content.SyncAdapter"\r
109                 android:resource="@xml/syncadapter_files" />\r
110         </service>\r
111 \r
112         <provider\r
113             android:name=".providers.FileContentProvider"\r
114             android:authorities="org.owncloud"\r
115             android:enabled="true"\r
116             android:exported="false"\r
117             android:label="@string/sync_string_files"\r
118             android:syncable="true" >\r
119         </provider>\r
120 \r
121         <activity\r
122             android:name=".ui.activity.AuthenticatorActivity"\r
123             android:exported="true"\r
124             android:theme="@style/Theme.ownCloud.noActionBar" >\r
125         </activity>\r
126 \r
127         <service android:name=".files.services.FileDownloader" >\r
128         </service>\r
129 \r
130         <activity android:name=".ui.activity.FileDetailActivity" />
131         <activity android:name=".ui.activity.PinCodeActivity" />\r
132         <activity android:name=".extensions.ExtensionsAvailableActivity"></activity>
133         <activity android:name=".extensions.ExtensionsListActivity"></activity>\r
134         <activity android:name=".ui.activity.AccountSelectActivity" android:uiOptions="none" android:label="@string/prefs_accounts"></activity>\r
135         <service android:name=".files.services.FileUploader" >\r
136         </service>
137         <service android:name=".files.services.InstantUploadService" />
138         <receiver android:name=".files.PhotoTakenBroadcastReceiver">\r
139             <intent-filter>\r
140                 <action android:name="com.android.camera.NEW_PICTURE" />\r
141                 <data android:mimeType="image/*" />\r
142             </intent-filter>
143             <intent-filter>
144                 <action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
145             </intent-filter>\r
146         </receiver>
147         <activity android:name="CrashlogSendActivity"></activity>\r
148         <receiver android:name=".files.BootupBroadcastReceiver">\r
149             <intent-filter>\r
150                 <action android:name="android.intent.action.BOOT_COMPLETED"/>\r
151             </intent-filter>\r
152         </receiver>\r
153         <service android:name=".files.services.FileObserverService"/>\r
154     </application>\r
155 \r
156 </manifest>