Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / android / source / AndroidManifest.xml
blob4a7c137878fb365b0cb752796ee20791d0c81121
1 <?xml version="1.0" encoding="utf-8"?>
2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3     android:installLocation="${installLocation}">
5     <!-- App requires OpenGL ES 2.0 -->
6     <uses-feature android:glEsVersion="0x00020000" android:required="true" />
7     <!-- App wants to know if device supports USB host capability(not mandatory) -->
8     <uses-feature android:name="android.hardware.usb.host" android:required="false"/>
9     <uses-feature android:name="android.hardware.camera" android:required="false"/>
10     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
12     <!-- extractNativeLibs="true" needed e.g. for NSS to load modules at runtime -->
13     <application
14         android:name=".LibreOfficeApplication"
15         android:allowBackup="true"
16         android:extractNativeLibs="true"
17         android:icon="@mipmap/ic_launcher"
18         android:label="@string/app_name"
19         android:theme="@style/LibreOfficeTheme"
20         android:hardwareAccelerated="true"
21         android:largeHeap="false">
23         <!-- Viewer Activity -->
24         <!-- When changing android:windowSoftInputMode, please don't specify multiple "adjust..." or "state...". -->
25         <activity
26             android:name=".LibreOfficeMainActivity"
27             android:configChanges="orientation|keyboard|keyboardHidden|screenLayout|uiMode|screenSize|smallestScreenSize"
28             android:windowSoftInputMode="adjustResize"
29             android:exported="true">
31             <intent-filter>
32                 <action android:name="android.intent.action.VIEW" />
33                 <action android:name="android.intent.action.EDIT" />
34                 <action android:name="android.intent.action.PICK" />
35                 <category android:name="android.intent.category.DEFAULT" />
37                 <data android:scheme="file"/>
38                 <data android:scheme="content"/>
40                 <!-- Please keep this in sync with FileUtilities.java. -->
42                 <!-- ODF -->
43                 <data android:mimeType="application/vnd.oasis.opendocument.text" />
44                 <data android:mimeType="application/vnd.oasis.opendocument.graphics" />
45                 <data android:mimeType="application/vnd.oasis.opendocument.presentation" />
46                 <data android:mimeType="application/vnd.oasis.opendocument.spreadsheet"/>
47                 <data android:mimeType="application/vnd.oasis.opendocument.text-flat-xml" />
48                 <data android:mimeType="application/vnd.oasis.opendocument.graphics-flat-xml" />
49                 <data android:mimeType="application/vnd.oasis.opendocument.presentation-flat-xml" />
50                 <data android:mimeType="application/vnd.oasis.opendocument.spreadsheet-flat-xml" />
52                 <!-- ODF templates -->
53                 <data android:mimeType="application/vnd.oasis.opendocument.text-template"/>
54                 <data android:mimeType="application/vnd.oasis.opendocument.spreadsheet-template"/>
55                 <data android:mimeType="application/vnd.oasis.opendocument.graphics-template"/>
56                 <!-- Seems at least Android 5.0 does not recognize this as the mime type of .otp files. -->
57                 <data android:mimeType="application/vnd.oasis.opendocument.presentation-template"/>
59                 <!-- MS -->
60                 <data android:mimeType="application/rtf" />
61                 <data android:mimeType="text/rtf" />
62                 <data android:mimeType="application/msword" />
63                 <data android:mimeType="application/vnd.ms-powerpoint" />
64                 <data android:mimeType="application/vnd.ms-excel"/>
65                 <data android:mimeType="application/vnd.visio" />
66                 <data android:mimeType="application/vnd.visio.xml" />
67                 <data android:mimeType="application/x-mspublisher" />
69                 <!-- OOXML -->
70                 <data android:mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
71                 <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" />
72                 <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.slideshow" />
73                 <data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" />
75                 <!-- OOXML templates -->
76                 <data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.template"/>
77                 <data android:mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.template"/>
78                 <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.template"/>
80                 <!-- OTHER -->
81                 <data android:mimeType="text/csv"/>
82                 <data android:mimeType="text/comma-separated-values"/>
83                 <data android:mimeType="application/vnd.ms-works" />
84                 <data android:mimeType="application/vnd.apple.keynote" />
85                 <data android:mimeType="application/x-abiword" />
86                 <data android:mimeType="application/x-pagemaker" />
87                 <data android:mimeType="image/x-emf" />
88                 <data android:mimeType="image/x-svm" />
89                 <data android:mimeType="image/x-wmf" />
90                 <data android:mimeType="image/svg+xml" />
92             </intent-filter>
93         </activity>
95         <activity
96             android:name=".SettingsActivity"
97             android:theme="@style/Theme.AppCompat.Light.DarkActionBar"
98             android:label="@string/app_name_settings">
99         </activity>
101         <!-- Document Browser Activity -->
102         <activity android:name="org.libreoffice.ui.LibreOfficeUIActivity"
103             android:exported="true">
104             <intent-filter>
105                 <action android:name="android.intent.action.MAIN" />
106                 <category android:name="android.intent.category.LAUNCHER" />
107             </intent-filter>
108         </activity>
110         <activity android:name=".PresentationActivity"
111             android:screenOrientation="landscape" >
112             <meta-data
113                 android:name="android.support.PARENT_ACTIVITY"
114                 android:value=".LibreOfficeMainActivity" />
115         </activity>
117         <provider
118             android:name="androidx.core.content.FileProvider"
119             android:authorities="${applicationId}.fileprovider"
120             android:exported="false"
121             android:grantUriPermissions="true">
122             <meta-data
123                 android:name="android.support.FILE_PROVIDER_PATHS"
124                 android:resource="@xml/file_paths" />
125         </provider>
127     </application>
129 </manifest>
130 <!-- vim: shiftwidth=4 softtabstop=4 expandtab: