Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / android / source / AndroidManifest.xml
blobd9d8e1ead39520ed80ebc359276ec7081866d947
1 <?xml version="1.0" encoding="utf-8"?>
2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3     package="org.libreoffice">
5     <!-- App requires OpenGL ES 2.0 -->
6     <uses-feature android:glEsVersion="0x00020000" android:required="true" />
7     <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21"/>
8     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
9     <uses-permission android:name="android.permission.INTERNET" />
11     <application
12         android:allowBackup="true"
13         android:icon="@drawable/main"
14         android:label="@string/app_name"
15         android:debuggable="true"
16         android:hardwareAccelerated="true"
17         android:largeHeap="false">
19         <!-- Viewer Activity -->
20         <activity
21             android:name=".LibreOfficeMainActivity"
22             android:label="@string/app_name"
23             android:configChanges="orientation|keyboard|keyboardHidden|screenLayout|uiMode|screenSize|smallestScreenSize"
24             android:theme="@style/LibreOfficeTheme">
25             <!-- android:windowSoftInputMode="adjustResize" -->
27             <intent-filter>
28                 <action android:name="android.intent.action.VIEW" />
29                 <action android:name="android.intent.action.EDIT" />
30                 <action android:name="android.intent.action.PICK" />
31                 <category android:name="android.intent.category.DEFAULT" />
33                 <data android:scheme="file"/>
34                 <data android:scheme="content"/>
36                 <!-- Please keep this in sync with FileUtilities.java. -->
38                 <!-- ODF -->
39                 <data android:mimeType="application/vnd.oasis.opendocument.text" />
40                 <data android:mimeType="application/vnd.oasis.opendocument.graphics" />
41                 <data android:mimeType="application/vnd.oasis.opendocument.presentation" />
42                 <data android:mimeType="application/vnd.oasis.opendocument.spreadsheet"/>
43                 <data android:mimeType="application/vnd.oasis.opendocument.text-flat-xml" />
44                 <data android:mimeType="application/vnd.oasis.opendocument.graphics-flat-xml" />
45                 <data android:mimeType="application/vnd.oasis.opendocument.presentation-flat-xml" />
46                 <!-- TODO: opening FODS documents crashes currently
47                 <data android:mimeType="application/vnd.oasis.opendocument.spreadsheet-flat-xml" />
48                 -->
50                 <!-- ODF templates -->
51                 <data android:mimeType="application/vnd.oasis.opendocument.text-template"/>
52                 <data android:mimeType="application/vnd.oasis.opendocument.spreadsheet-template"/>
53                 <data android:mimeType="application/vnd.oasis.opendocument.graphics-template"/>
54                 <!-- Seems at least Android 5.0 does not recognize this as the mime type of .otp files. -->
55                 <data android:mimeType="application/vnd.oasis.opendocument.presentation-template"/>
57                 <!-- MS -->
58                 <data android:mimeType="application/rtf" />
59                 <data android:mimeType="text/rtf" />
60                 <data android:mimeType="application/msword" />
61                 <data android:mimeType="application/vnd.ms-powerpoint" />
62                 <data android:mimeType="application/vnd.ms-excel"/>
63                 <data android:mimeType="application/vnd.visio" />
64                 <data android:mimeType="application/vnd.visio.xml" />
65                 <data android:mimeType="application/x-mspublisher" />
67                 <!-- OOXML -->
68                 <data android:mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
69                 <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" />
70                 <!-- Currently crashes. <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.slideshow"/> -->
71                 <data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" />
73                 <!-- OOXML templates -->
74                 <data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.template"/>
75                 <data android:mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.template"/>
76                 <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.template"/>
78                 <!-- OTHER -->
79                 <data android:mimeType="text/csv"/>
80                 <data android:mimeType="text/comma-separated-values"/>
81                 <data android:mimeType="application/vnd.ms-works" />
82                 <data android:mimeType="application/vnd.apple.keynote" />
83                 <data android:mimeType="application/x-abiword" />
84                 <data android:mimeType="application/x-pagemaker" />
85                 <data android:mimeType="image/x-emf" />
86                 <data android:mimeType="image/x-svm" />
87                 <data android:mimeType="image/x-wmf" />
88                 <data android:mimeType="image/svg+xml" />
90             </intent-filter>
91         </activity>
93         <activity
94             android:name=".SettingsActivity"
95             android:label="@string/app_name_settings">
96         </activity>
98         <!-- Document Browser Activity -->
99         <activity android:name="org.libreoffice.ui.LibreOfficeUIActivity"
100                   android:label="@string/app_name"
101                   android:theme="@style/BrowserTheme">
102             <intent-filter>
103                 <action android:name="android.intent.action.MAIN" />
104                 <category android:name="android.intent.category.LAUNCHER" />
105             </intent-filter>
106         </activity>
108         <!-- Document Provider Settings Activity -->
109         <activity android:name=".storage.DocumentProviderSettingsActivity"
110                   android:label="@string/storage_provider_settings">
111             <intent-filter>
112                 <action android:name="android.intent.action.MAIN" />
113             </intent-filter>
114         </activity>
116         <activity android:name=".storage.external.BrowserSelectorActivity"
117                   android:theme="@style/LibreOfficeTheme">
118         </activity>
120         <activity android:name=".storage.external.DirectoryBrowserActivity"
121             android:label="@string/directory_browser_label"
122             android:theme="@style/LibreOfficeTheme"
123             android:windowSoftInputMode="stateHidden">
124         </activity>
126     </application>
128 </manifest>
129 <!-- vim: shiftwidth=4 softtabstop=4 expandtab: