LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / android / source / AndroidManifest.xml
blob53a064fb901bb6e8636f70a16cb6b644d2dd4abc
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"/>
13     <!-- extractNativeLibs="true" needed e.g. for NSS to load modules at runtime -->
14     <application
15         android:name=".LibreOfficeApplication"
16         android:allowBackup="true"
17         android:extractNativeLibs="true"
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...". -->
26         <activity
27             android:name=".LibreOfficeMainActivity"
28             android:label="@string/app_name"
29             android:configChanges="orientation|keyboard|keyboardHidden|screenLayout|uiMode|screenSize|smallestScreenSize"
30             android:windowSoftInputMode="adjustResize" >
32             <intent-filter>
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. -->
43                 <!-- ODF -->
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" />
53                 -->
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"/>
62                 <!-- MS -->
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" />
72                 <!-- OOXML -->
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"/>
83                 <!-- OTHER -->
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" />
95             </intent-filter>
96         </activity>
98         <activity
99             android:name=".SettingsActivity"
100             android:theme="@style/Theme.AppCompat.Light.DarkActionBar"
101             android:label="@string/app_name_settings">
102         </activity>
104         <!-- Document Browser Activity -->
105         <activity android:name="org.libreoffice.ui.LibreOfficeUIActivity"
106                   android:label="@string/app_name" >
107             <intent-filter>
108                 <action android:name="android.intent.action.MAIN" />
109                 <category android:name="android.intent.category.LAUNCHER" />
110             </intent-filter>
111         </activity>
113         <activity android:name=".PresentationActivity"
114             android:screenOrientation="landscape" >
115             <meta-data
116                 android:name="android.support.PARENT_ACTIVITY"
117                 android:value=".LibreOfficeMainActivity" />
118         </activity>
120         <provider
121             android:name="android.support.v4.content.FileProvider"
122             android:authorities="${applicationId}.fileprovider"
123             android:exported="false"
124             android:grantUriPermissions="true">
125             <meta-data
126                 android:name="android.support.FILE_PROVIDER_PATHS"
127                 android:resource="@xml/file_paths" />
128         </provider>
130     </application>
132 </manifest>
133 <!-- vim: shiftwidth=4 softtabstop=4 expandtab: