forked from nicolas-raoul/Anki-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroidManifest.xml
181 lines (175 loc) · 8.12 KB
/
AndroidManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2009 Andrew <andrewdubya@gmail>
~ Copyright (c) 2009 Nicolas Raoul <[email protected]>
~ Copyright (c) 2009 Edu Zamora <[email protected]>
~ Copyright (c) 2009 Casey Link <[email protected]>
~ Copyright (c) 2011 Norbert Nagold <[email protected]>
~
~ This program is free software; you can redistribute it and/or modify it under
~ the terms of the GNU General Public License as published by the Free Software
~ Foundation; either version 3 of the License, or (at your option) any later
~ version.
~
~ This program is distributed in the hope that it will be useful, but WITHOUT ANY
~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
~ PARTICULAR PURPOSE. See the GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License along with
~ this program. If not, see <http://www.gnu.org/licenses/>.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ichi2.anki2"
android:versionName="2.0alpha40-EXPERIMENTAL"
android:versionCode="28"
android:installLocation="auto">
<instrumentation android:name="android.test.InstrumentationTestRunner" android:targetPackage="com.ichi2.anki2"></instrumentation>
<application
android:label="@string/app_name"
android:icon="@drawable/anki"
android:theme="@style/Theme_White"
android:windowSoftInputMode="adjustResize"
android:name="com.ichi2.anki.AnkiDroidApp" android:debuggable="true">
<!-- android:label="@string/app_name" -->
<activity android:name="com.ichi2.anki.DeckPicker"
android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation|locale">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="com.ankidroid.category.DECK" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="application/vnd.anki" />
</intent-filter>
</activity>
<activity android:name="com.ichi2.anki.StudyOptionsActivity"
android:label="StudyOptions"
android:configChanges="keyboardHidden|locale|orientation"/>
<activity android:name="com.ichi2.anki.CardBrowser"
android:label="Card Browser"
android:configChanges="keyboardHidden|orientation|locale"/>
<activity android:name="com.ichi2.anki.PersonalDeckPicker"
android:label="@string/personaldeckpicker_title"
android:configChanges="keyboardHidden|orientation|locale"/>
<activity android:name="com.ichi2.anki.SharedDeckPicker"
android:label="@string/shareddeckpicker_title"
android:configChanges="keyboardHidden|orientation|locale"/>
<activity android:name="com.ichi2.anki.Reviewer"
android:configChanges="keyboardHidden|orientation|locale"/>
<activity android:name="com.ichi2.anki.MyAccount"
android:label="@string/menu_my_account"
android:configChanges="keyboardHidden|orientation|locale"/>
<activity android:name="com.ichi2.anki.Preferences"
android:label="@string/preferences_title"
android:configChanges="keyboardHidden|orientation|locale"/>
<activity android:name="com.ichi2.anki.DeckOptions"
android:label="@string/deckpreferences_title"
android:configChanges="locale"/>
<activity android:name="com.ichi2.anki.CramDeckOptions"
android:label="@string/deckpreferences_title"
android:configChanges="locale"/>
<activity android:name="com.ichi2.anki.Info"
android:label="@string/about_title"
android:configChanges="locale"/>
<activity android:name="com.ichi2.anki.CardEditor"
android:label="@string/fact_adder_intent_title"
android:configChanges="keyboardHidden|orientation|locale">
<intent-filter>
<action android:name="org.openintents.indiclash.CREATE_FLASHCARD" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
</activity>
<activity android:name="com.ichi2.anki.Feedback"
android:label="@string/feedback_title"
android:configChanges="locale"/>
<activity android:name="com.ichi2.charts.ChartBuilder"
android:configChanges="orientation|locale"/>
<activity android:name="com.ichi2.widget.WidgetDialog"
android:theme="@style/Theme_Translucent"
android:launchMode="singleInstance"/>
<activity android:name="com.ichi2.veecheck.Notification"
android:label="@string/notification_title"
android:configChanges="locale"/>
<!-- <receiver android:name="com.ichi2.veecheck.CheckReceiver"
android:permission="android.permission.RECEIVE_BOOT_COMPLETED">
<intent-filter>
<action
android:name="android.intent.action.BOOT_COMPLETED">
</action>
</intent-filter>
<intent-filter>
<action
android:name="com.ichi2.anki.VEECHECK_RESCHEDULE_CHECKS">
</action>
</intent-filter>
<intent-filter>
<action
android:name="com.ichi2.anki.VEECHECK_CONSIDER_CHECK">
</action>
</intent-filter>
</receiver>
<service android:name="com.ichi2.veecheck.CheckService">
<intent-filter>
<action
android:name="com.ichi2.anki.VEECHECK_PERFORM_CHECK">
</action>
<data android:scheme="http"></data>
</intent-filter>
</service> -->
<service android:name="com.ichi2.anki.services.DownloadManagerService"/>
<service android:name="com.ichi2.anki.services.NotificationService"/>
<!-- medium widget -->
<receiver android:name="com.ichi2.widget.AnkiDroidWidgetMedium" android:label="@string/widget_medium">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/widget_provider" />
</receiver>
<!-- Service to perform web API queries -->
<service android:name="com.ichi2.widget.AnkiDroidWidgetMedium$UpdateService" />
<!-- small widget -->
<receiver android:name="com.ichi2.widget.AnkiDroidWidgetSmall" android:label="@string/widget_small">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/widget_provider_small" />
</receiver>
<!-- Service to perform web API queries -->
<service android:name="com.ichi2.widget.AnkiDroidWidgetSmall$UpdateService" />
<!-- big widget -->
<uses-library android:name="android.test.runner"></uses-library>
<receiver android:name="com.ichi2.widget.AnkiDroidWidgetBig" android:label="@string/widget_big">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/widget_provider_big" />
</receiver>
<!-- Service to perform web API queries -->
<service android:name="com.ichi2.widget.AnkiDroidWidgetBig$UpdateService" />
<service android:name="com.ichi2.widget.WidgetContentService" />
</application>
<uses-sdk android:minSdkVersion="4"
android:targetSdkVersion="11"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.VIBRATE" android:required="false" />
<uses-permission android:name="android.permission.INTERNET" android:required="false" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" android:required="false" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" android:required="false" />
<!--<uses-permission android:name="android.permission.BLUETOOTH" android:required="false" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:required="false" />-->
<supports-screens
android:resizeable="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>
</manifest>