1 <?xml version="1.0" encoding="utf-8"?>
2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 android:installLocation="${installLocation}"
4 package="org.libreoffice">
6 <!-- App requires OpenGL ES 2.0 -->
7 <uses-feature android:glEsVersion="0x00020000" android:required="true" />
8 <!-- App wants to know if device supports USB host capability(not mandatory) -->
9 <uses-feature android:name="android.hardware.usb.host" android:required="false"/>
10 <uses-feature android:name="android.hardware.camera" android:required="false"/>
11 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
12 <uses-permission android:name="android.permission.INTERNET" />
15 android:name=".LibreOfficeApplication"
16 android:allowBackup="true"
17 android:extractNativeLibs="${extractNativeLibs}"
18 android:icon="@mipmap/ic_launcher"
19 android:label="@string/app_name"
20 android:theme="@style/LibreOfficeTheme"
21 android:hardwareAccelerated="true"
22 android:largeHeap="false">
24 <!-- Viewer Activity -->
25 <!-- When changing android:windowSoftInputMode, please don't specify multiple "adjust..." or "state...". -->
27 android:name=".LibreOfficeMainActivity"
28 android:label="@string/app_name"
29 android:configChanges="orientation|keyboard|keyboardHidden|screenLayout|uiMode|screenSize|smallestScreenSize"
30 android:windowSoftInputMode="adjustResize" >
33 <action android:name="android.intent.action.VIEW" />
34 <action android:name="android.intent.action.EDIT" />
35 <action android:name="android.intent.action.PICK" />
36 <category android:name="android.intent.category.DEFAULT" />
38 <data android:scheme="file"/>
39 <data android:scheme="content"/>
41 <!-- Please keep this in sync with FileUtilities.java. -->
44 <data android:mimeType="application/vnd.oasis.opendocument.text" />
45 <data android:mimeType="application/vnd.oasis.opendocument.graphics" />
46 <data android:mimeType="application/vnd.oasis.opendocument.presentation" />
47 <data android:mimeType="application/vnd.oasis.opendocument.spreadsheet"/>
48 <data android:mimeType="application/vnd.oasis.opendocument.text-flat-xml" />
49 <data android:mimeType="application/vnd.oasis.opendocument.graphics-flat-xml" />
50 <data android:mimeType="application/vnd.oasis.opendocument.presentation-flat-xml" />
51 <!-- TODO: opening FODS documents crashes currently
52 <data android:mimeType="application/vnd.oasis.opendocument.spreadsheet-flat-xml" />
55 <!-- ODF templates -->
56 <data android:mimeType="application/vnd.oasis.opendocument.text-template"/>
57 <data android:mimeType="application/vnd.oasis.opendocument.spreadsheet-template"/>
58 <data android:mimeType="application/vnd.oasis.opendocument.graphics-template"/>
59 <!-- Seems at least Android 5.0 does not recognize this as the mime type of .otp files. -->
60 <data android:mimeType="application/vnd.oasis.opendocument.presentation-template"/>
63 <data android:mimeType="application/rtf" />
64 <data android:mimeType="text/rtf" />
65 <data android:mimeType="application/msword" />
66 <data android:mimeType="application/vnd.ms-powerpoint" />
67 <data android:mimeType="application/vnd.ms-excel"/>
68 <data android:mimeType="application/vnd.visio" />
69 <data android:mimeType="application/vnd.visio.xml" />
70 <data android:mimeType="application/x-mspublisher" />
73 <data android:mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
74 <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" />
75 <!-- Currently crashes. <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.slideshow"/> -->
76 <data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" />
78 <!-- OOXML templates -->
79 <data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.template"/>
80 <data android:mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.template"/>
81 <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.template"/>
84 <data android:mimeType="text/csv"/>
85 <data android:mimeType="text/comma-separated-values"/>
86 <data android:mimeType="application/vnd.ms-works" />
87 <data android:mimeType="application/vnd.apple.keynote" />
88 <data android:mimeType="application/x-abiword" />
89 <data android:mimeType="application/x-pagemaker" />
90 <data android:mimeType="image/x-emf" />
91 <data android:mimeType="image/x-svm" />
92 <data android:mimeType="image/x-wmf" />
93 <data android:mimeType="image/svg+xml" />
99 android:name=".SettingsActivity"
100 android:theme="@style/Theme.AppCompat.Light.DarkActionBar"
101 android:label="@string/app_name_settings">
104 <!-- Document Browser Activity -->
105 <activity android:name="org.libreoffice.ui.LibreOfficeUIActivity"
106 android:label="@string/app_name" >
108 <action android:name="android.intent.action.MAIN" />
109 <category android:name="android.intent.category.LAUNCHER" />
113 <!-- Document Provider Settings Activity -->
114 <activity android:name=".storage.DocumentProviderSettingsActivity"
115 android:theme="@style/Theme.AppCompat.Light.DarkActionBar"
116 android:label="@string/storage_provider_settings">
118 <action android:name="android.intent.action.MAIN" />
122 <activity android:name=".storage.external.BrowserSelectorActivity" >
125 <activity android:name=".storage.external.DirectoryBrowserActivity"
126 android:label="@string/directory_browser_label"
127 android:windowSoftInputMode="stateHidden">
130 <activity android:name=".PresentationActivity"
131 android:screenOrientation="landscape" >
133 android:name="android.support.PARENT_ACTIVITY"
134 android:value=".LibreOfficeMainActivity" />
138 android:name="android.support.v4.content.FileProvider"
139 android:authorities="${applicationId}.fileprovider"
140 android:exported="false"
141 android:grantUriPermissions="true">
143 android:name="android.support.FILE_PROVIDER_PATHS"
144 android:resource="@xml/file_paths" />
150 <!-- vim: shiftwidth=4 softtabstop=4 expandtab: