-
Notifications
You must be signed in to change notification settings - Fork 0
/
AndroidManifest.xml
197 lines (168 loc) · 8 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
182
183
184
185
186
187
188
189
190
191
192
193
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.chinesepod.decks"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="14" />
<!-- permissions -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="com.google.android.c2dm.permission.SEND" />
<permission
android:name=".permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name=".permission.C2D_MESSAGE" />
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="false"
android:xlargeScreens="true" />
<application
android:name=".CPDecksApplication"
android:debuggable="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:theme="@style/Theme.CPod.BasicPage"
android:uiOptions="splitActionBarWhenNarrow" >
<!--
BroadcastReceiver that will receive intents from GCM
services and handle them to the custom IntentService.
The com.google.android.c2dm.permission.SEND permission is necessary
so only GCM services can send data messages for the app.
-->
<receiver
android:name="com.google.android.gcm.GCMBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="com.chinesepod.decks" />
</intent-filter>
</receiver>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<!-- SAMSUNG MULTI-WINDOW -->
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
<!-- SAMSUNG MULTI-WINDOW -->
<meta-data
android:name="com.sec.minimode.icon.portrait.normal"
android:resource="@drawable/ic_launcher" />
<meta-data
android:name="com.sec.minimode.icon.landscape.normal"
android:resource="@drawable/ic_launcher" />
<!--
Application-specific subclass of GCMBaseIntentService that will
handle received messages.
By default, it must be named .GCMIntentService, unless the
application uses a custom BroadcastReceiver that redefines its name.
-->
<service android:name=".GCMIntentService" />
<service
android:name="TranslateService"
android:label="TranslationService" >
<intent-filter>
<action android:name="android.intent.action.GET_CONTENT" />
<action android:name="android.intent.action.PICK" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.ALTERNATIVE" />
</intent-filter>
</service>
<activity
android:name=".CPDecksDashboardActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/app_name"
android:theme="@android:style/Theme.Black.NoTitleBar" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".CPDecksIntroActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.Black.NoTitleBar" >
</activity>
<activity android:name=".CPDecksDeckSelectorActivity" >
<!-- Parent activity meta-data to support 4.0 and lower -->
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".CPDecksDashboardActivity" />
</activity>
<activity android:name=".CPDecksDeckListActivity" >
<!-- Parent activity meta-data to support 4.0 and lower -->
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".CPDecksDashboardActivity" />
</activity>
<activity
android:name=".CPDecksFlashcardsActivity"
android:configChanges="keyboardHidden|orientation|locale" >
<!-- Parent activity meta-data to support 4.0 and lower -->
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".CPDecksDeckPickerActivity" />
</activity>
<activity android:name=".CPDecksContentCategoryListActivity" >
<!-- Parent activity meta-data to support 4.0 and lower -->
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".CPDecksDashboardActivity" />
</activity>
<activity android:name=".CPDecksContentListActivity" >
<!-- Parent activity meta-data to support 4.0 and lower -->
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".CPDecksContentCategoryCategoryListActivity" />
</activity>
<activity android:name=".CPDecksContentCardsActivity" >
<!-- Parent activity meta-data to support 4.0 and lower -->
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".CPDecksContentListActivity" />
</activity>
<activity android:name=".CPDecksTranslateActivity" >
<!-- Parent activity meta-data to support 4.0 and lower -->
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".CPDecksDashboardActivity" />
</activity>
<activity
android:name=".CPDecksSettingsActivity"
android:theme="@android:style/Theme.Black.NoTitleBar" >
<!-- Parent activity meta-data to support 4.0 and lower -->
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".CPDecksDashboardActivity" />
</activity>
<activity android:name=".CPDecksVocabularyManageActivity" >
</activity>
<activity
android:name=".CPDecksCreateVocabularyActivity"
android:theme="@style/Theme.CPod.Dialog.CreateVocabulary" >
</activity>
<activity android:name=".CPDecksSampleSentencesActivity" >
</activity>
<activity
android:name=".CPDecksAccuracyActivity"
android:theme="@android:style/Theme.Holo.Light.Dialog" />
<activity
android:name="HistoryActivity"
android:label="History" >
</activity>
</application>
</manifest>