]> gitweb.fperrin.net Git - Dictionary.git/blob - AndroidManifest.xml
Allow to escape only unicode chars
[Dictionary.git] / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3     package="com.hughes.android.dictionary"
4     android:installLocation="auto"
5     android:versionCode="112"
6     android:versionName="5.5.7" >
7
8     <uses-feature
9         android:name="android.hardware.touchscreen"
10         android:required="false" />
11     <uses-feature
12         android:name="android.software.leanback"
13         android:required="false" />
14
15     <uses-permission android:name="android.permission.INTERNET" />
16     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
17     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
18
19     <application
20         android:allowBackup="true"
21         android:resizeableActivity="true"
22         android:icon="@drawable/icon"
23         android:banner="@drawable/banner_tv"
24         android:label="@string/app_name"
25         android:supportsRtl="true"
26         android:theme="@style/AppBaseThemeDark" >
27         <meta-data
28             android:name="com.google.android.backup.api_key"
29             android:value="AEdPqrEAAAAIUa0cU0ZHbBpYXJqm0vVUP5IAjr5D4iUeX7UwiQ" />
30
31         <activity
32             android:name=".DictionaryManagerActivity"
33             android:label="@string/app_name" >
34             <intent-filter>
35                 <action android:name="android.intent.action.MAIN" />
36
37                 <category android:name="android.intent.category.LAUNCHER" />
38             </intent-filter>
39             <intent-filter>
40                 <action android:name="android.intent.action.MAIN" />
41                 <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
42             </intent-filter>
43             <!-- Direct installation of dictionaries -->
44             <!-- When opening from downloads, no proper file name is sent -->
45             <intent-filter>
46                 <action android:name="android.intent.action.VIEW" />
47                 <category android:name="android.intent.category.DEFAULT" />
48                 <category android:name="android.intent.category.BROWSABLE" />
49                 <data android:scheme="content"
50                       android:host="*"
51                       android:pathPattern=".*"
52                       android:mimeType="application/zip" />
53             </intent-filter>
54             <intent-filter>
55                 <action android:name="android.intent.action.VIEW" />
56                 <category android:name="android.intent.category.DEFAULT" />
57                 <category android:name="android.intent.category.BROWSABLE" />
58                 <data android:scheme="file"
59                       android:host="*"
60                       android:pathPattern=".*"
61                       android:mimeType="application/zip" />
62             <!-- Handling cases with no mimeType (maybe not necessary?)
63                  works for files not in downloads -->
64             </intent-filter>
65             <intent-filter>
66                 <action android:name="android.intent.action.VIEW" />
67                 <category android:name="android.intent.category.DEFAULT" />
68                 <category android:name="android.intent.category.BROWSABLE" />
69                 <data android:scheme="content"
70                       android:host="*"
71                       android:pathPattern=".*\\.quickdic\\.v006\\.zip" />
72             </intent-filter>
73             <intent-filter>
74                 <action android:name="android.intent.action.VIEW" />
75                 <category android:name="android.intent.category.DEFAULT" />
76                 <category android:name="android.intent.category.BROWSABLE" />
77                 <data android:scheme="file"
78                       android:host="*"
79                       android:pathPattern=".*\\.quickdic\\.v006\\.zip" />
80             </intent-filter>
81             <intent-filter>
82                 <action android:name="android.intent.action.VIEW" />
83                 <category android:name="android.intent.category.DEFAULT" />
84                 <category android:name="android.intent.category.BROWSABLE" />
85                 <data android:scheme="content"
86                       android:host="*"
87                       android:pathPattern=".*\\.quickdic\\.v007\\.zip" />
88             </intent-filter>
89             <intent-filter>
90                 <action android:name="android.intent.action.VIEW" />
91                 <category android:name="android.intent.category.DEFAULT" />
92                 <category android:name="android.intent.category.BROWSABLE" />
93                 <data android:scheme="file"
94                       android:host="*"
95                       android:pathPattern=".*\\.quickdic\\.v007\\.zip" />
96             </intent-filter>
97
98             <!--
99                 <meta-data android:name="android.app.searchable" android:resource="@xml/searchable"/>
100                                                 <intent-filter>
101                 <action android:name="android.intent.action.SEARCH" />
102                 </intent-filter>
103             -->
104         </activity>
105         <activity
106             android:name=".DictionaryActivity"
107             android:label="@string/app_name"
108             android:windowSoftInputMode="adjustResize"
109             android:parentActivityName=".DictionaryActivity" >
110
111             <!-- Parent activity meta-data to support API level 7+ -->
112             <meta-data
113                 android:name="android.support.PARENT_ACTIVITY"
114                 android:value=".DictionaryActivity" />
115
116             <!--
117            @author Dominik Köppl
118                         Added two different intents to catch simple and advanced queries from other external applications.
119             -->
120             <intent-filter>
121                 <action android:name="android.intent.action.PROCESS_TEXT" />
122                 <category android:name="android.intent.category.DEFAULT" />
123                 <data android:mimeType="text/plain" />
124             </intent-filter>
125             <intent-filter>
126                 <action android:name="android.intent.action.SEND" />
127                 <category android:name="android.intent.category.DEFAULT" />
128                 <data android:mimeType="text/plain" />
129             </intent-filter>
130             <intent-filter>
131                 <action android:name="android.intent.action.SEARCH" />
132
133                 <category android:name="android.intent.category.DEFAULT" />
134             </intent-filter>
135             <intent-filter>
136                 <action android:name="com.hughes.action.ACTION_SEARCH_DICT" />
137
138                 <category android:name="android.intent.category.DEFAULT" />
139             </intent-filter>
140             <!-- Allow direct opening of dictionary files -->
141             <intent-filter>
142                 <action android:name="android.intent.action.VIEW" />
143                 <category android:name="android.intent.category.DEFAULT" />
144                 <data android:scheme="content"
145                       android:host="*"
146                       android:mimeType="application/octet-stream"
147                       android:pathPattern=".*\\.quickdic" />
148             </intent-filter>
149             <intent-filter>
150                 <action android:name="android.intent.action.VIEW" />
151                 <category android:name="android.intent.category.DEFAULT" />
152                 <data android:scheme="file"
153                       android:host="*"
154                       android:mimeType="application/octet-stream"
155                       android:pathPattern=".*\\.quickdic" />
156             </intent-filter>
157             <intent-filter>
158                 <action android:name="android.intent.action.VIEW" />
159                 <category android:name="android.intent.category.DEFAULT" />
160                 <data android:scheme="content"
161                       android:host="*"
162                       android:pathPattern=".*\\.quickdic" />
163             </intent-filter>
164             <intent-filter>
165                 <action android:name="android.intent.action.VIEW" />
166                 <category android:name="android.intent.category.DEFAULT" />
167                 <data android:scheme="file"
168                       android:host="*"
169                       android:pathPattern=".*\\.quickdic" />
170             </intent-filter>
171         </activity>
172         <activity
173             android:name=".AboutActivity"
174             android:parentActivityName=".DictionaryActivity" >
175
176             <!-- Parent activity meta-data to support API level 7+ -->
177             <meta-data
178                 android:name="android.support.PARENT_ACTIVITY"
179                 android:value=".DictionaryActivity" />
180         </activity>
181         <activity
182             android:name=".HtmlDisplayActivity"
183             android:parentActivityName=".DictionaryActivity" >
184
185             <!-- Parent activity meta-data to support API level 7+ -->
186             <meta-data
187                 android:name="android.support.PARENT_ACTIVITY"
188                 android:value=".DictionaryActivity" />
189         </activity>
190         <activity
191             android:name=".PreferenceActivity"
192             android:parentActivityName=".DictionaryActivity" >
193
194             <!-- Parent activity meta-data to support API level 7+ -->
195             <meta-data
196                 android:name="android.support.PARENT_ACTIVITY"
197                 android:value=".DictionaryActivity" />
198         </activity>
199     </application>
200
201 </manifest>