-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroidManifest.xml
162 lines (140 loc) · 7.85 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
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2011 Marcelo Zambrana Villarroel.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.chmbrs.apps.notepad"
android:versionCode="6"
android:versionName="@string/appVersionName" android:installLocation="internalOnly">
<uses-sdk android:minSdkVersion="8" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.FLASHLIGHT"/>
<uses-permission android:name="android.permission.WRITE_CALENDAR"/>
<uses-permission android:name="android.permission.READ_CALENDAR"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<supports-screens android:anyDensity="true" android:largeScreens="true" android:smallScreens="true" android:normalScreens="true" android:resizeable="true"/>
<!-- Hardware features -->
<uses-feature android:name="android.hardware.faketouch" android:required="false"/>
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
<uses-feature android:name="android.hardware.telephony" android:required="false"/>
<application android:icon="@drawable/icon" android:label="@string/appName" android:name="NotePadApplication" android:allowClearUserData="true" android:allowBackup="true">
<provider android:name="NotePadProvider" android:authorities="com.chmbrs.apps.notepad" />
<activity android:name="NoteList"
android:label="@string/appName">
<!-- singletop it is better for performance but back behavior gets broken since it is only one activity instance. Need to research more-->
<!-- android:launchMode="singleTop "-->
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data android:name="android.app.searchable" android:resource="@xml/searchable"/>
<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" />
<action android:name="android.intent.action.EDIT" />
<action android:name="android.intent.action.PICK" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.dir/vnd.chmbrs.note" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.GET_CONTENT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/vnd.chmbrs.note" />
</intent-filter>
</activity>
<activity android:name="NotePadEditor"
android:label="@string/editNoteTitle"
android:theme="@android:style/Theme.Light"
android:screenOrientation="sensor"
android:configChanges="keyboardHidden|orientation">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<action android:name="com.chmbrs.apps.notepad.notes.action.EDIT_NOTE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/vnd.chmbrs.note" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.INSERT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.dir/vnd.chmbrs.note" />
</intent-filter>
</activity>
<activity android:name="NotePadTitleEditor"
android:label="@string/updateTitle"
android:theme="@android:style/Theme.Dialog"
android:windowSoftInputMode="stateVisible">
<intent-filter>
<action android:name="com.chmbrs.apps.notepad.notes.action.EDIT_TITLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/vnd.chmbrs.note" />
</intent-filter>
</activity>
<activity android:name="NotePadLiveFolder"
android:label="@string/liveFolderLabel">
<intent-filter>
<action android:name="android.intent.action.CREATE_LIVE_FOLDER"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<activity android:name="NotePadPreferences" android:label="@string/notePadPreferencesTitle" />
<activity android:name="NotePadReminder"
android:label="@string/notePadReminderTitle"
android:theme="@android:style/Theme.Dialog"
android:windowSoftInputMode="stateVisible">
<intent-filter>
<action android:name="com.chmbrs.apps.notepad.notes.action.NOTE_SET_REMINDER"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="vnd.android.cursor.item/vnd.chmbrs.note" />
</intent-filter>
</activity>
<activity android:name="ExportNotes"
android:theme="@android:style/Theme.Dialog"
android:label="@string/notePadExportNotesTitle">
</activity>
<activity android:name="AboutMe"
android:theme="@android:style/Theme.Dialog"
android:label="@string/notePadAboutMeTitle">
</activity>
<activity android:name="ChangeLog"
android:theme="@android:style/Theme.Light"
android:label="@string/notePadChangeLogTitle">
</activity>
<!-- Service to refresh note pad widget -->
<service android:name="NotePadWidgetProvider$NotePadUpdateService">
<intent-filter>
<action android:name="com.chmbrs.apps.notepad.notes.action.REFRESH_NOTES" />
<action android:name="com.chmbrs.apps.notepad.notes.action.MOVE_NEXT_NOTE" />
<action android:name="com.chmbrs.apps.notepad.notes.action.MOVE_PREV_NOTE" />
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</service>
<receiver android:name="NotePadWidgetProvider" android:label="@string/appName">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/notepadwidgetinfo"/>
</receiver>
<receiver android:name="NotePadAlarm">
<intent-filter>
<action android:name="com.chmbrs.apps.notepad.notes.action.NOTE_REMINDER" />
<data android:mimeType="vnd.android.cursor.item/vnd.chmbrs.note" />
</intent-filter>
</receiver>
</application>
</manifest>