-
Notifications
You must be signed in to change notification settings - Fork 9
/
AndroidManifest.xml
91 lines (86 loc) · 5.91 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
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.douban.book" android:versionName="0.9.5" android:versionCode="11" >
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="20"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.FLASHLIGHT"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.front" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
<supports-screens android:xlargeScreens="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>
<application android:label="@string/app_full_name" android:icon="@drawable/logo" android:theme="@style/DoubanTheme" android:hardwareAccelerated="true"
android:name="com.douban.base.DoubanContext" android:configChanges="orientation|screenSize" >
<activity android:label="@string/app_full_name" android:clearTaskOnLaunch="true" android:name=".SearchActivity" android:windowSoftInputMode="adjustUnspecified|stateHidden" >
<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.SEARCH" />
</intent-filter>
<meta-data android:name="android.app.searchable"
android:resource="@xml/searchable"/>
</activity>
<activity android:label="@string/login" android:name=".LoginActivity" />
<!--use 'configChanges' to avoid activity re-creation when rotating-->
<activity android:label="@string/favorite" android:name=".FavoriteBooksActivity" android:launchMode="singleTop" android:windowActionBarOverlay="true" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:label="@string/menu_settings" android:name=".SettingsActivity" android:launchMode="singleTop"/>
<activity android:label="@string/my_note" android:name=".MyNoteActivity" android:launchMode="singleTop"/>
<activity android:label="@string/about" android:name=".AboutActivity" />
<activity android:label="@string/scan_book" android:name=".ScannerActivity"/>
<activity android:label="@string/book_detail" android:name=".BookActivity"/>
<activity android:label="@string/add_collection" android:name=".CollectionActivity" android:windowSoftInputMode="adjustPan"/>
<activity android:label="@string/annotation" android:name=".NotesActivity" />
<activity android:label="@string/add_note" android:name=".AddNoteActivity" android:windowSoftInputMode="adjustResize"/>
<activity android:label="@string/annotation" android:name=".PublicNoteViewActivity" />
<activity android:label="@string/review" android:name=".ReviewActivity" />
<activity android:label="@string/my_note" android:name=".MyNoteViewActivity" android:launchMode="singleTop"/>
<activity android:label="@string/favorite_search" android:name=".FavoriteBooksFilterResultActivity" android:launchMode="singleTop"/>
<activity android:label="@string/favorite_search" android:name=".FavoriteBooksFilterActivity" android:launchMode="singleTop"/>
<activity android:label="@string/search" android:name=".SearchResultActivity" />
<activity android:label="@string/app_full_name" android:name="com.douban.base.DisconnectedActivity" android:launchMode="singleTop" android:noHistory="true" android:clearTaskOnLaunch="true"/>
<activity android:label="@string/note_draft" android:name="com.douban.book.NotesDraftActivity" android:launchMode="singleTop"/>
<activity android:name="com.google.zxing.client.android.CaptureActivity"
android:screenOrientation="sensorLandscape"
android:clearTaskOnLaunch="true"
android:stateNotNeeded="true"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="com.google.zxing.client.android.SCAN"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<activity android:name="com.google.zxing.client.android.encode.EncodeActivity"
android:stateNotNeeded="true">
<intent-filter>
<action android:name="com.google.zxing.client.android.ENCODE"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
<!-- This allows us to handle the Share button in Contacts. -->
<intent-filter>
<action android:name="android.intent.action.SEND"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="text/x-vcard"/>
</intent-filter>
<!-- This allows us to handle sharing any plain text . -->
<intent-filter>
<action android:name="android.intent.action.SEND"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="text/plain"/>
</intent-filter>
</activity>
</application>
</manifest>