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 -->
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...". -->
26 android:name=".LibreOfficeMainActivity"
27 android:configChanges="orientation|keyboard|keyboardHidden|screenLayout|uiMode|screenSize|smallestScreenSize"
28 android:windowSoftInputMode="adjustResize"
29 android:exported="true">
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. -->
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"/>
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" />
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"/>
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" />
96 android:name=".SettingsActivity"
97 android:theme="@style/Theme.AppCompat.Light.DarkActionBar"
98 android:label="@string/app_name_settings">
101 <!-- Document Browser Activity -->
102 <activity android:name="org.libreoffice.ui.LibreOfficeUIActivity"
103 android:exported="true">
105 <action android:name="android.intent.action.MAIN" />
106 <category android:name="android.intent.category.LAUNCHER" />
110 <activity android:name=".PresentationActivity"
111 android:screenOrientation="landscape" >
113 android:name="android.support.PARENT_ACTIVITY"
114 android:value=".LibreOfficeMainActivity" />
118 android:name="androidx.core.content.FileProvider"
119 android:authorities="${applicationId}.fileprovider"
120 android:exported="false"
121 android:grantUriPermissions="true">
123 android:name="android.support.FILE_PROVIDER_PATHS"
124 android:resource="@xml/file_paths" />
130 <!-- vim: shiftwidth=4 softtabstop=4 expandtab: