Skip to content

Commit c233cb2

Browse files
author
qiaozhongliang
committed
Add miui notes source code
0 parents  commit c233cb2

314 files changed

Lines changed: 11834 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.classpath

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="src" path="gen"/>
5+
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
6+
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
7+
<classpathentry kind="output" path="bin/classes"/>
8+
</classpath>

.project

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>Notes</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.jdt.core.javabuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
31+
<nature>org.eclipse.jdt.core.javanature</nature>
32+
</natures>
33+
</projectDescription>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#Mon Dec 26 17:05:10 CST 2011
2+
eclipse.preferences.version=1
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
4+
org.eclipse.jdt.core.compiler.compliance=1.5
5+
org.eclipse.jdt.core.compiler.source=1.5

AndroidManifest.xml

Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!-- Copyright (C) 2011 Xiaomi Inc.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
-->
17+
18+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19+
package="net.micode.notes" >
20+
21+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
22+
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
23+
<uses-permission android:name="android.permission.INTERNET" />
24+
<uses-permission android:name="android.permission.READ_CONTACTS" />
25+
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
26+
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
27+
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
28+
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
29+
30+
<application
31+
android:icon="@drawable/icon_app"
32+
android:label="@string/app_name" >
33+
<activity
34+
android:name=".ui.NotesListActivity"
35+
android:configChanges="keyboardHidden|orientation|screenSize"
36+
android:label="@string/app_name"
37+
android:launchMode="singleTop"
38+
android:theme="@style/NoteTheme"
39+
android:uiOptions="splitActionBarWhenNarrow"
40+
android:windowSoftInputMode="adjustPan" >
41+
42+
<intent-filter>
43+
<action android:name="android.intent.action.MAIN" />
44+
<category android:name="android.intent.category.LAUNCHER" />
45+
</intent-filter>
46+
</activity>
47+
48+
<activity
49+
android:name=".ui.NoteEditActivity"
50+
android:configChanges="keyboardHidden|orientation"
51+
android:launchMode="singleTop"
52+
android:theme="@style/NoteTheme" >
53+
54+
<intent-filter>
55+
<action android:name="android.intent.action.VIEW" />
56+
<category android:name="android.intent.category.DEFAULT" />
57+
<data android:mimeType="vnd.android.cursor.item/text_note" />
58+
<data android:mimeType="vnd.android.cursor.item/call_note" />
59+
</intent-filter>
60+
61+
<intent-filter>
62+
<action android:name="android.intent.action.INSERT_OR_EDIT" />
63+
<category android:name="android.intent.category.DEFAULT" />
64+
<data android:mimeType="vnd.android.cursor.item/text_note" />
65+
<data android:mimeType="vnd.android.cursor.item/call_note" />
66+
</intent-filter>
67+
68+
<intent-filter>
69+
<action android:name="android.intent.action.SEARCH" />
70+
<category android:name="android.intent.category.DEFAULT" />
71+
</intent-filter>
72+
73+
<meta-data
74+
android:name="android.app.searchable"
75+
android:resource="@xml/searchable" />
76+
</activity>
77+
78+
<provider
79+
android:name="net.micode.notes.data.NotesProvider"
80+
android:authorities="notes"
81+
android:multiprocess="true" />
82+
83+
<receiver
84+
android:name=".widget.NoteWidgetProvider_2x"
85+
android:label="@string/app_widget2x2" >
86+
<intent-filter>
87+
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
88+
<action android:name="android.appwidget.action.APPWIDGET_DELETED" />
89+
<action android:name="android.intent.action.PRIVACY_MODE_CHANGED" />
90+
</intent-filter>
91+
92+
<meta-data
93+
android:name="android.appwidget.provider"
94+
android:resource="@xml/widget_2x_info" />
95+
</receiver>
96+
<receiver
97+
android:name=".widget.NoteWidgetProvider_4x"
98+
android:label="@string/app_widget4x4" >
99+
100+
<intent-filter>
101+
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
102+
<action android:name="android.appwidget.action.APPWIDGET_DELETED" />
103+
<action android:name="android.intent.action.PRIVACY_MODE_CHANGED" />
104+
</intent-filter>
105+
106+
<meta-data
107+
android:name="android.appwidget.provider"
108+
android:resource="@xml/widget_4x_info" />
109+
</receiver>
110+
111+
<receiver android:name=".ui.AlarmInitReceiver" >
112+
<intent-filter>
113+
<action android:name="android.intent.action.BOOT_COMPLETED" />
114+
</intent-filter>
115+
</receiver>
116+
117+
<receiver
118+
android:name="net.micode.notes.ui.AlarmReceiver"
119+
android:process=":remote" >
120+
</receiver>
121+
122+
<activity
123+
android:name=".ui.AlarmAlertActivity"
124+
android:label="@string/app_name"
125+
android:launchMode="singleInstance"
126+
android:theme="@android:style/Theme.Wallpaper.NoTitleBar" >
127+
</activity>
128+
129+
<activity
130+
android:name="net.micode.notes.ui.NotesPreferenceActivity"
131+
android:label="@string/preferences_title"
132+
android:launchMode="singleTop"
133+
android:theme="@android:style/Theme.Light" >
134+
</activity>
135+
136+
<service
137+
android:name="net.micode.notes.gtask.remote.GTaskSyncService"
138+
android:exported="false" >
139+
</service>
140+
141+
<meta-data
142+
android:name="android.app.default_searchable"
143+
android:value=".ui.NoteEditActivity" />
144+
</application>
145+
</manifest>

bin/Notes.apk

972 KB
Binary file not shown.

bin/classes.dex

174 KB
Binary file not shown.
444 Bytes
Binary file not shown.
334 Bytes
Binary file not shown.
485 Bytes
Binary file not shown.
579 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)