AndroidManifest.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. ownCloud Android client application
  4. Copyright (C) 2012 Bartek Przybylski
  5. Copyright (C) 2012-2015 ownCloud Inc.
  6. This program is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License version 2,
  8. as published by the Free Software Foundation.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. -->
  16. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  17. package="com.owncloud.android"
  18. android:versionCode="10000000"
  19. android:versionName="1.0.0" >
  20. <uses-sdk
  21. android:minSdkVersion="14"
  22. android:targetSdkVersion="23" />
  23. <!-- GET_ACCOUNTS is needed for API < 23.
  24. For API >= 23 results in the addition of CONTACTS group to the list of permissions that may be
  25. dynamically disabled or enabled by the user after installation; but it is not important,
  26. since GET_ACCOUNTS is an special case, the permission is not really needed to access accounts
  27. owned by the app, our use case.
  28. See note in http://developer.android.com/intl/es/reference/android/Manifest.permission.html#GET_ACCOUNTS -->
  29. <uses-permission android:name="android.permission.GET_ACCOUNTS" />
  30. <!-- USE_CREDENTIALS, MANAGE_ACCOUNTS and AUTHENTICATE_ACCOUNTS are needed for API < 23.
  31. In API >= 23 the do not exist anymore -->
  32. <uses-permission android:name="android.permission.USE_CREDENTIALS" />
  33. <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
  34. <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
  35. <!-- WRITE_EXTERNAL_STORAGE may be enabled or disabled by the user after installation in
  36. API >= 23; the app needs to handle this -->
  37. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  38. <!-- Next permissions are always approved in installation time,
  39. the apps needs to do nothing special in runtime -->
  40. <uses-permission android:name="android.permission.INTERNET" />
  41. <uses-permission android:name="android.permission.READ_SYNC_STATS" />
  42. <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
  43. <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
  44. <uses-permission android:name="android.permission.BROADCAST_STICKY" />
  45. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  46. <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
  47. <uses-permission android:name="android.permission.WAKE_LOCK" />
  48. <application
  49. android:name=".MainApp"
  50. android:icon="@mipmap/ic_launcher"
  51. android:label="@string/app_name"
  52. android:theme="@style/Theme.ownCloud"
  53. android:manageSpaceActivity=".ui.activity.ManageSpaceActivity">
  54. <activity
  55. android:name=".ui.activity.FileDisplayActivity"
  56. android:label="@string/app_name" >
  57. <intent-filter>
  58. <action android:name="android.intent.action.MAIN" />
  59. <category android:name="android.intent.category.LAUNCHER" />
  60. </intent-filter>
  61. </activity>
  62. <activity android:name=".ui.activity.UploadFilesActivity" />
  63. <activity android:name=".ui.activity.ReceiveExternalFilesActivity"
  64. android:taskAffinity=""
  65. android:excludeFromRecents="true"
  66. android:theme="@style/Theme.ownCloud">
  67. <intent-filter>
  68. <action android:name="android.intent.action.SEND" />
  69. <category android:name="android.intent.category.DEFAULT" />
  70. <data android:mimeType="*/*" />
  71. </intent-filter>
  72. <intent-filter>
  73. <action android:name="android.intent.action.SEND_MULTIPLE" />
  74. <category android:name="android.intent.category.DEFAULT" />
  75. <data android:mimeType="*/*" />
  76. </intent-filter>
  77. </activity>
  78. <activity
  79. android:name=".ui.activity.Preferences"
  80. android:theme="@style/Theme.ownCloud" >
  81. </activity>
  82. <activity
  83. android:name=".ui.preview.PreviewImageActivity"
  84. android:theme="@style/Theme.ownCloud.Overlay" />
  85. <activity
  86. android:name=".ui.preview.PreviewVideoActivity"
  87. android:label="@string/app_name"
  88. android:theme="@style/Theme.ownCloud.Fullscreen" />
  89. <service
  90. android:name=".authentication.AccountAuthenticatorService"
  91. android:exported="true" >
  92. <intent-filter android:priority="100" >
  93. <action android:name="android.accounts.AccountAuthenticator" />
  94. </intent-filter>
  95. <meta-data
  96. android:name="android.accounts.AccountAuthenticator"
  97. android:resource="@xml/authenticator" />
  98. </service>
  99. <service
  100. android:name=".syncadapter.FileSyncService"
  101. android:exported="true" >
  102. <intent-filter>
  103. <action android:name="android.content.SyncAdapter" />
  104. </intent-filter>
  105. <meta-data
  106. android:name="android.content.SyncAdapter"
  107. android:resource="@xml/syncadapter_files" />
  108. </service>
  109. <provider
  110. android:name=".providers.FileContentProvider"
  111. android:authorities="@string/authority"
  112. android:enabled="true"
  113. android:exported="false"
  114. android:label="@string/sync_string_files"
  115. android:syncable="true" />
  116. <provider
  117. android:name=".providers.UsersAndGroupsSearchProvider"
  118. android:authorities="com.nextcloud.android.providers.UsersAndGroupsSearchProvider"
  119. android:enabled="true"
  120. android:exported="false"
  121. android:label="@string/search_users_and_groups_hint" />
  122. <activity
  123. android:name=".authentication.AuthenticatorActivity"
  124. android:exported="true"
  125. android:launchMode="singleTask"
  126. android:theme="@style/Theme.ownCloud.noActionBar" >
  127. <intent-filter>
  128. <action android:name="android.intent.action.VIEW" />
  129. <category android:name="android.intent.category.DEFAULT" />
  130. <category android:name="android.intent.category.BROWSABLE" />
  131. <data android:scheme="@string/oauth2_redirect_scheme" />
  132. </intent-filter>
  133. <intent-filter>
  134. <action android:name="com.owncloud.android.workaround.accounts.CREATE" />
  135. <category android:name="android.intent.category.DEFAULT" />
  136. </intent-filter>
  137. </activity>
  138. <service android:name=".services.OperationsService" />
  139. <service android:name=".files.services.FileDownloader" />
  140. <service android:name=".files.services.FileUploader" />
  141. <service android:name=".media.MediaService" />
  142. <activity android:name=".ui.activity.PassCodeActivity" />
  143. <activity android:name=".ui.activity.ConflictsResolveActivity"/>
  144. <activity android:name=".ui.activity.GenericExplanationActivity"/>
  145. <activity android:name=".ui.activity.ErrorsWhileCopyingHandlerActivity"/>
  146. <activity android:name=".ui.activity.LogHistoryActivity"/>
  147. <activity android:name=".ui.errorhandling.ErrorShowActivity" />
  148. <activity android:name=".ui.activity.UploadListActivity" />
  149. <receiver android:name=".files.services.ConnectivityActionReceiver"
  150. android:enabled="true" android:label="ConnectivityActionReceiver">
  151. <intent-filter>
  152. <!--action android:name="android.net.conn.CONNECTIVITY_CHANGE"/-->
  153. <action android:name="android.net.wifi.STATE_CHANGE"/>
  154. </intent-filter>
  155. </receiver>
  156. <receiver android:name=".files.InstantUploadBroadcastReceiver">
  157. <intent-filter>
  158. <!-- unofficially supported by many Android phones but not by HTC devices: -->
  159. <action android:name="com.android.camera.NEW_PICTURE" />
  160. <!-- officially supported since Android 4.0 (SDK 14, works even for HTC devices): -->
  161. <action android:name="android.hardware.action.NEW_PICTURE" />
  162. <data android:mimeType="image/*" />
  163. </intent-filter>
  164. <intent-filter>
  165. <action android:name="android.hardware.action.NEW_VIDEO" />
  166. <data android:mimeType="video/*" />
  167. </intent-filter>
  168. </receiver>
  169. <receiver android:name=".files.BootupBroadcastReceiver" >
  170. <intent-filter>
  171. <action android:name="android.intent.action.BOOT_COMPLETED" />
  172. </intent-filter>
  173. </receiver>
  174. <service android:name=".services.observer.FileObserverService" />
  175. <activity
  176. android:name=".ui.activity.CopyToClipboardActivity"
  177. android:icon="@drawable/copy_link"
  178. android:label="@string/copy_link" />
  179. <activity
  180. android:name=".ui.activity.FolderPickerActivity"
  181. android:label="@string/app_name" />
  182. <activity
  183. android:name=".ui.activity.UploadPathActivity"
  184. android:label="@string/app_name" />
  185. <activity
  186. android:name=".ui.activity.ShareActivity"
  187. android:label="@string/share_dialog_title"
  188. android:theme="@style/Theme.ownCloud.Dialog.NoTitle"
  189. android:launchMode="singleTop"
  190. android:windowSoftInputMode="adjustResize" >
  191. <intent-filter>
  192. <action android:name="android.intent.action.SEARCH" />
  193. </intent-filter>
  194. <meta-data android:name="android.app.searchable"
  195. android:resource="@xml/users_and_groups_searchable"/>
  196. </activity>
  197. <activity android:name=".ui.activity.ManageSpaceActivity"
  198. android:label="@string/manage_space_title"
  199. android:theme="@style/Theme.ownCloud" />
  200. </application>
  201. </manifest>