tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / android / source / AndroidManifest.xml
blob899a117f429d639741c26e98714e1a714c2e2d2d
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-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
11     <application
12         android:name=".LibreOfficeApplication"
13         android:allowBackup="true"
14         android:icon="@mipmap/ic_launcher"
15         android:label="@string/app_name"
16         android:theme="@style/LibreOfficeTheme"
17         android:hardwareAccelerated="true"
18         android:largeHeap="false">
20         <!-- Viewer Activity -->
21         <!-- When changing android:windowSoftInputMode, please don't specify multiple "adjust..." or "state...". -->
22         <activity
23             android:name=".LibreOfficeMainActivity"
24             android:configChanges="orientation|keyboard|keyboardHidden|screenLayout|uiMode|screenSize|smallestScreenSize"
25             android:windowSoftInputMode="adjustResize"
26             android:exported="true">
28             <intent-filter>
29                 <action android:name="android.intent.action.VIEW" />
30                 <action android:name="android.intent.action.EDIT" />
31                 <action android:name="android.intent.action.PICK" />
32                 <category android:name="android.intent.category.DEFAULT" />
34                 <data android:scheme="file"/>
35                 <data android:scheme="content"/>
37                 <!-- Please keep this in sync with FileUtilities.java. -->
39                 <!-- ODF -->
40                 <data android:mimeType="application/vnd.oasis.opendocument.text" />
41                 <data android:mimeType="application/vnd.oasis.opendocument.graphics" />
42                 <data android:mimeType="application/vnd.oasis.opendocument.presentation" />
43                 <data android:mimeType="application/vnd.oasis.opendocument.spreadsheet"/>
44                 <data android:mimeType="application/vnd.oasis.opendocument.text-flat-xml" />
45                 <data android:mimeType="application/vnd.oasis.opendocument.graphics-flat-xml" />
46                 <data android:mimeType="application/vnd.oasis.opendocument.presentation-flat-xml" />
47                 <data android:mimeType="application/vnd.oasis.opendocument.spreadsheet-flat-xml" />
49                 <!-- ODF templates -->
50                 <data android:mimeType="application/vnd.oasis.opendocument.text-template"/>
51                 <data android:mimeType="application/vnd.oasis.opendocument.spreadsheet-template"/>
52                 <data android:mimeType="application/vnd.oasis.opendocument.graphics-template"/>
53                 <!-- Seems at least Android 5.0 does not recognize this as the mime type of .otp files. -->
54                 <data android:mimeType="application/vnd.oasis.opendocument.presentation-template"/>
56                 <!-- MS -->
57                 <data android:mimeType="application/rtf" />
58                 <data android:mimeType="text/rtf" />
59                 <data android:mimeType="application/msword" />
60                 <data android:mimeType="application/vnd.ms-powerpoint" />
61                 <data android:mimeType="application/vnd.ms-excel"/>
62                 <data android:mimeType="application/vnd.visio" />
63                 <data android:mimeType="application/vnd.visio2013" />
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                 <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:theme="@style/Theme.AppCompat.DayNight.DarkActionBar"
96             android:label="@string/app_name_settings">
97         </activity>
99         <!-- Document Browser Activity -->
100         <activity android:name="org.libreoffice.ui.LibreOfficeUIActivity"
101             android:exported="true">
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         <activity android:name=".PresentationActivity"
109             android:screenOrientation="landscape" >
110             <meta-data
111                 android:name="android.support.PARENT_ACTIVITY"
112                 android:value=".LibreOfficeMainActivity" />
113         </activity>
115         <provider
116             android:name="androidx.core.content.FileProvider"
117             android:authorities="${applicationId}.fileprovider"
118             android:exported="false"
119             android:grantUriPermissions="true">
120             <meta-data
121                 android:name="android.support.FILE_PROVIDER_PATHS"
122                 android:resource="@xml/file_paths" />
123         </provider>
125     </application>
127 </manifest>
128 <!-- vim: shiftwidth=4 softtabstop=4 expandtab: