-
Notifications
You must be signed in to change notification settings - Fork 12
/
AndroidManifest.xml
175 lines (165 loc) · 7.04 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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.tomdroid"
android:versionName="0.8.0dev" android:versionCode="15">
<uses-sdk android:minSdkVersion="4"
android:targetSdkVersion="11" />
<supports-screens android:resizeable="true"
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:anyDensity="true"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@android:style/Theme.Light.NoTitleBar"
>
<activity android:label="@string/app_name"
android:theme="@style/LightTheme"
android:name=".ui.Tomdroid"
android:configChanges="orientation|screenSize"
>
<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="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="tomdroid" android:host="sync"/>
</intent-filter>
<!-- enable the search dialog to send searches to SearchableActivity -->
<meta-data android:name="android.app.default_searchable"
android:value=".ui.Tomdroid" />
<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:name=".ui.ViewNote"
android:theme="@style/LightTheme"
android:label="@string/view_title"
>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="vnd.android.cursor.item/vnd.tomdroid.note" />
</intent-filter>
</activity>
<activity android:name=".ui.EditNote"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="@style/LightTheme"
android:label="@string/edit_title"
>
</activity>
<activity android:name=".util.Receive"
android:theme="@style/LightTheme"
>
<!-- To receive data from other apps via share -->
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
<!-- To receive note files from file browser (open all .note files) -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="file" />
<data android:host="*" />
<data android:port="*" />
<data android:mimeType="*/*" />
<data android:pathPattern=".*\\.note" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="content" />
<data android:host="*" />
<data android:port="*" />
<data android:mimeType="*/*" />
<data android:pathPattern=".*\\.note" />
</intent-filter>
<!-- To open all text files (open all text files) -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="content" />
<data android:host="*" />
<data android:port="*" />
<data android:pathPattern=".*" />
<data android:mimeType="text/*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="file" />
<data android:host="*" />
<data android:port="*" />
<data android:pathPattern=".*" />
<data android:mimeType="text/*" />
</intent-filter>
<!-- To receive note files from mail client (open with application/note mimetype) -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="file" />
<data android:host="*" />
<data android:port="*" />
<data android:mimeType="application/note" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="content" />
<data android:host="*" />
<data android:port="*" />
<data android:mimeType="application/note" />
</intent-filter>
</activity>
<provider
android:name=".util.SearchSuggestionProvider"
android:authorities="org.tomdroid.util.SearchSuggestionProvider"
/>
<provider android:name="NoteProvider"
android:authorities="org.tomdroid.notes"
/>
<activity android:name=".ui.PreferencesActivity"
android:theme="@style/LightTheme"
android:label="@string/pref_title"
android:configChanges="orientation|screenSize"
>
</activity>
<activity android:name=".ui.ShortcutActivity"
android:theme="@style/LightTheme"
android:label="@string/shortcut_menu_item_caption">
<intent-filter>
<action android:name="android.intent.action.CREATE_SHORTCUT"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<activity android:name=".ui.CompareNotes"
android:theme="@style/LightTheme"
android:label="@string/app_name">
</activity>
<activity android:name=".ui.FilePickerActivity"
android:theme="@style/LightTheme"
android:label="@string/filePickerTitle"/>
<uses-library android:name="android.test.runner" />
</application>
<instrumentation android:name="android.test.InstrumentationTestRunner" android:targetPackage="org.tomdroid"></instrumentation>
</manifest>