parent
a0ce16049b
commit
8ecc3315ce
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,9 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: org.apache.http.legacy-android-23">
|
||||
<CLASSES>
|
||||
<root url="jar://D:/Android_SDK/SDK/platforms/android-23/optional/org.apache.http.legacy.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
|
@ -7,8 +7,27 @@
|
|||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="c8515555-ebbc-49d5-889b-0c59bd6c3b6d" name="默认更改列表" comment="comment">
|
||||
<change afterPath="$PROJECT_DIR$/.idea/libraries/Gradle__org_apache_http_legacy_android_23.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.bin" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.lock" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.bin" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.lock" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.gradle/buildOutputCleanup/outputFiles.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/buildOutputCleanup/outputFiles.bin" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/caches/build_file_checksums.ser" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/caches/build_file_checksums.ser" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/caches/gradle_models.ser" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/caches/gradle_models.ser" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListActivity.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListActivity.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/app/app.iml" beforeDir="false" afterPath="$PROJECT_DIR$/app/app.iml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/app/build.gradle" beforeDir="false" afterPath="$PROJECT_DIR$/app/build.gradle" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/app/build/generated/source/buildConfig/androidTest/debug/net/micode/notes/test/BuildConfig.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/generated/source/buildConfig/androidTest/debug/net/micode/notes/test/BuildConfig.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/app/build/intermediates/bundle_manifest/debug/processDebugManifest/bundle-manifest/AndroidManifest.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/bundle_manifest/debug/processDebugManifest/bundle-manifest/AndroidManifest.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/app/build/intermediates/instant_app_manifest/debug/AndroidManifest.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/instant_app_manifest/debug/AndroidManifest.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/app/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/app/build/intermediates/merged_manifests/debug/AndroidManifest.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/merged_manifests/debug/AndroidManifest.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/app/build/intermediates/merged_manifests/debugAndroidTest/AndroidManifest.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/intermediates/merged_manifests/debugAndroidTest/AndroidManifest.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/app/build/outputs/logs/manifest-merger-debug-report.txt" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/outputs/logs/manifest-merger-debug-report.txt" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java" afterDir="false" />
|
||||
</list>
|
||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
|
@ -42,34 +61,10 @@
|
|||
</component>
|
||||
<component name="FileEditorManager">
|
||||
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
||||
<file pinned="false" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListActivity.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="335">
|
||||
<caret line="1115" column="9" lean-forward="true" selection-start-line="1115" selection-start-column="9" selection-end-line="1115" selection-end-column="9" />
|
||||
<folding>
|
||||
<element signature="e#10700#10767#0" expanded="true" />
|
||||
<element signature="e#11187#11211#0" expanded="true" />
|
||||
<element signature="e#12282#12318#0" expanded="true" />
|
||||
<element signature="e#23149#23181#0" expanded="true" />
|
||||
<element signature="e#24580#24623#0" expanded="true" />
|
||||
<element signature="e#24827#24870#0" expanded="true" />
|
||||
<element signature="e#25005#25176#0" expanded="true" />
|
||||
<element signature="e#25175#25176#0" expanded="true" />
|
||||
<element signature="e#25359#26888#0" expanded="true" />
|
||||
<element signature="e#26887#26888#0" expanded="true" />
|
||||
<element signature="e#29304#29828#0" expanded="true" />
|
||||
<element signature="e#29827#29828#0" expanded="true" />
|
||||
<element signature="e#32663#32692#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/res/values-zh-rCN/strings.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="149">
|
||||
<state relative-caret-position="-1202">
|
||||
<caret line="40" column="18" selection-start-line="40" selection-start-column="18" selection-end-line="40" selection-end-column="18" />
|
||||
</state>
|
||||
</provider>
|
||||
|
@ -78,8 +73,20 @@
|
|||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-4254">
|
||||
<caret line="175" column="51" selection-start-line="175" selection-start-column="51" selection-end-line="175" selection-end-column="51" />
|
||||
<state relative-caret-position="59">
|
||||
<caret line="81" column="24" selection-start-line="81" selection-start-column="24" selection-end-line="81" selection-end-column="24" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesProvider.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="183">
|
||||
<caret line="101" column="17" lean-forward="true" selection-start-line="101" selection-start-column="17" selection-end-line="101" selection-end-column="17" />
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
|
@ -87,8 +94,8 @@
|
|||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-145">
|
||||
<caret line="69" column="25" lean-forward="true" selection-start-line="69" selection-start-column="25" selection-end-line="69" selection-end-column="25" />
|
||||
<state relative-caret-position="20">
|
||||
<caret line="338" selection-start-line="338" selection-end-line="338" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
|
@ -97,7 +104,7 @@
|
|||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Notes.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="158">
|
||||
<caret line="23" column="28" selection-start-line="23" selection-start-column="28" selection-end-line="23" selection-end-column="28" />
|
||||
<caret line="48" column="39" lean-forward="true" selection-start-line="48" selection-start-column="39" selection-end-line="48" selection-end-column="39" />
|
||||
<folding>
|
||||
<element signature="e#0#9163#0" expanded="true" />
|
||||
<element signature="class#TextNote#0;class#Notes#0" />
|
||||
|
@ -111,7 +118,7 @@
|
|||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/Note.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="280">
|
||||
<caret line="44" column="7" lean-forward="true" selection-start-line="44" selection-start-column="7" selection-end-line="44" selection-end-column="7" />
|
||||
<caret line="44" column="7" selection-start-line="44" selection-start-column="7" selection-end-line="44" selection-end-column="7" />
|
||||
<folding>
|
||||
<element signature="method#getNewNoteId#0;class#Note#0" />
|
||||
<element signature="method#Note#0;class#Note#0" />
|
||||
|
@ -157,6 +164,8 @@
|
|||
<find>finish</find>
|
||||
<find>//</find>
|
||||
<find>/*</find>
|
||||
<find>getread</find>
|
||||
<find>mHelper</find>
|
||||
</findStrings>
|
||||
<replaceStrings>
|
||||
<replace>WRONGNOTEID</replace>
|
||||
|
@ -189,8 +198,6 @@
|
|||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider.java" />
|
||||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Contact.java" />
|
||||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Notes.java" />
|
||||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java" />
|
||||
<option value="$PROJECT_DIR$/app/build.gradle" />
|
||||
<option value="$PROJECT_DIR$/app/src/main/res/raw-zh-rCN/introduction" />
|
||||
<option value="$PROJECT_DIR$/app/src/main/res/raw/introduction" />
|
||||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListAdapter.java" />
|
||||
|
@ -200,8 +207,10 @@
|
|||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesProvider.java" />
|
||||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/WorkingNote.java" />
|
||||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/AlarmAlertActivity.java" />
|
||||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java" />
|
||||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListActivity.java" />
|
||||
<option value="$PROJECT_DIR$/app/build.gradle" />
|
||||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java" />
|
||||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
|
@ -544,13 +553,13 @@
|
|||
</component>
|
||||
<component name="PropertiesComponent">
|
||||
<property name="ASKED_SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
|
||||
<property name="DeviceAndSnapshotComboBoxAction.selectedDevice" value="Pixel_2_API_28" />
|
||||
<property name="DeviceAndSnapshotComboBoxAction.selectionTime" value="2019-09-24T00:13:57.999Z" />
|
||||
<property name="DeviceAndSnapshotComboBoxAction.selectedDevice" value="Pixel_2_API_24_2" />
|
||||
<property name="DeviceAndSnapshotComboBoxAction.selectionTime" value="2019-10-10T12:00:04.556Z" />
|
||||
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
|
||||
<property name="SONARLINT_PRECOMMIT_ANALYSIS" value="true" />
|
||||
<property name="android.sdk.path" value="D:/Android_SDK/SDK" />
|
||||
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
||||
<property name="project.structure.last.edited" value="Project" />
|
||||
<property name="project.structure.last.edited" value="Modules" />
|
||||
<property name="project.structure.proportion" value="0.17" />
|
||||
<property name="project.structure.side.proportion" value="0.2" />
|
||||
<property name="settings.editor.selected.configurable" value="preferences.pluginManager" />
|
||||
|
@ -635,7 +644,7 @@
|
|||
</configuration>
|
||||
</component>
|
||||
<component name="StructureViewFactory">
|
||||
<option name="ACTIVE_ACTIONS" value=",SHOW_LAMBDA" />
|
||||
<option name="ACTIVE_ACTIONS" value=",SHOW_LAMBDA,SHOW_INTERFACES,SHOW_PROPERTIES" />
|
||||
</component>
|
||||
<component name="SvnConfiguration">
|
||||
<configuration />
|
||||
|
@ -823,7 +832,14 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1570707769289</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="26" />
|
||||
<task id="LOCAL-00026" summary="comment">
|
||||
<created>1570708781459</created>
|
||||
<option name="number" value="00026" />
|
||||
<option name="presentableId" value="LOCAL-00026" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1570708781459</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="27" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TodoView">
|
||||
|
@ -858,7 +874,7 @@
|
|||
<window_info anchor="bottom" id="Terminal" order="7" weight="0.3297587" />
|
||||
<window_info anchor="bottom" id="Event Log" order="8" side_tool="true" weight="0.3294271" />
|
||||
<window_info anchor="bottom" id="Version Control" order="9" weight="0.3297587" />
|
||||
<window_info active="true" anchor="bottom" id="Build" order="10" visible="true" weight="0.29088473" />
|
||||
<window_info anchor="bottom" id="Build" order="10" visible="true" weight="0.29088473" />
|
||||
<window_info anchor="bottom" id="Messages" order="11" weight="0.3297587" />
|
||||
<window_info anchor="right" id="Gradle" order="0" weight="0.3297587" />
|
||||
<window_info anchor="right" id="Device File Explorer" order="1" side_tool="true" weight="0.3297587" />
|
||||
|
@ -909,9 +925,6 @@
|
|||
<option name="LAST_COMMIT_MESSAGE" value="comment" />
|
||||
</component>
|
||||
<component name="editorHistoryManager">
|
||||
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/menu_delete.png">
|
||||
<provider selected="true" editor-type-id="images" />
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/notification.png">
|
||||
<provider selected="true" editor-type-id="images" />
|
||||
</entry>
|
||||
|
@ -966,13 +979,6 @@
|
|||
<entry file="file://$PROJECT_DIR$/settings.gradle">
|
||||
<provider selected="true" editor-type-id="text-editor" />
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/build.gradle">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="200">
|
||||
<caret line="10" column="27" lean-forward="true" selection-start-line="10" selection-start-column="27" selection-end-line="10" selection-end-column="27" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/res/raw-zh-rCN/introduction">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="140">
|
||||
|
@ -1134,13 +1140,6 @@
|
|||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesProvider.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="5160">
|
||||
<caret line="287" column="1" selection-start-line="287" selection-start-column="1" selection-end-line="287" selection-end-column="1" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/AlarmReceiver.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="200">
|
||||
|
@ -1179,7 +1178,7 @@
|
|||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/Note.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="280">
|
||||
<caret line="44" column="7" lean-forward="true" selection-start-line="44" selection-start-column="7" selection-end-line="44" selection-end-column="7" />
|
||||
<caret line="44" column="7" selection-start-line="44" selection-start-column="7" selection-end-line="44" selection-end-column="7" />
|
||||
<folding>
|
||||
<element signature="method#getNewNoteId#0;class#Note#0" />
|
||||
<element signature="method#Note#0;class#Note#0" />
|
||||
|
@ -1191,20 +1190,6 @@
|
|||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-145">
|
||||
<caret line="69" column="25" lean-forward="true" selection-start-line="69" selection-start-column="25" selection-end-line="69" selection-end-column="25" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-4254">
|
||||
<caret line="175" column="51" selection-start-line="175" selection-start-column="51" selection-end-line="175" selection-end-column="51" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/res/layout/dialog_edit_text.xml">
|
||||
<provider editor-type-id="text-editor" />
|
||||
<provider selected="true" editor-type-id="android-designer2" />
|
||||
|
@ -1228,29 +1213,10 @@
|
|||
</provider>
|
||||
<provider editor-type-id="android-designer2" />
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/res/values-zh-rCN/strings.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="149">
|
||||
<caret line="40" column="18" selection-start-line="40" selection-start-column="18" selection-end-line="40" selection-end-column="18" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Notes.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="158">
|
||||
<caret line="23" column="28" selection-start-line="23" selection-start-column="28" selection-end-line="23" selection-end-column="28" />
|
||||
<folding>
|
||||
<element signature="e#0#9163#0" expanded="true" />
|
||||
<element signature="class#TextNote#0;class#Notes#0" />
|
||||
<element signature="class#CallNote#0;class#Notes#0" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListActivity.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="335">
|
||||
<caret line="1115" column="9" lean-forward="true" selection-start-line="1115" selection-start-column="9" selection-end-line="1115" selection-end-column="9" />
|
||||
<state relative-caret-position="375">
|
||||
<caret line="1117" column="5" lean-forward="true" selection-start-line="1117" selection-start-column="5" selection-end-line="1117" selection-end-column="5" />
|
||||
<folding>
|
||||
<element signature="e#10700#10767#0" expanded="true" />
|
||||
<element signature="e#11187#11211#0" expanded="true" />
|
||||
|
@ -1269,6 +1235,63 @@
|
|||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/build.gradle">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="220">
|
||||
<caret line="11" column="5" lean-forward="true" selection-start-line="11" selection-start-column="5" selection-end-line="11" selection-end-column="5" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/res/values-zh-rCN/strings.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-1202">
|
||||
<caret line="40" column="18" selection-start-line="40" selection-start-column="18" selection-end-line="40" selection-end-column="18" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Notes.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="158">
|
||||
<caret line="48" column="39" lean-forward="true" selection-start-line="48" selection-start-column="39" selection-end-line="48" selection-end-column="39" />
|
||||
<folding>
|
||||
<element signature="e#0#9163#0" expanded="true" />
|
||||
<element signature="class#TextNote#0;class#Notes#0" />
|
||||
<element signature="class#CallNote#0;class#Notes#0" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="59">
|
||||
<caret line="81" column="24" selection-start-line="81" selection-start-column="24" selection-end-line="81" selection-end-column="24" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="20">
|
||||
<caret line="338" selection-start-line="338" selection-end-line="338" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://D:/Android_SDK/SDK/sources/android-23/android/database/sqlite/SQLiteOpenHelper.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="166">
|
||||
<caret line="184" column="26" selection-start-line="184" selection-start-column="26" selection-end-line="184" selection-end-column="26" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesProvider.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="183">
|
||||
<caret line="101" column="17" lean-forward="true" selection-start-line="101" selection-start-column="17" selection-end-line="101" selection-end-column="17" />
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</component>
|
||||
<component name="masterDetails">
|
||||
<states>
|
||||
|
|
|
@ -87,8 +87,8 @@
|
|||
<sourceFolder url="file://$MODULE_DIR$/src/test/shaders" isTestSource="true" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="Android API 28 Platform" jdkType="Android SDK" />
|
||||
<orderEntry type="jdk" jdkName="Android API 23 Platform" jdkType="Android SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="Gradle: org.apache.http.legacy-android-28" level="project" />
|
||||
<orderEntry type="library" name="Gradle: org.apache.http.legacy-android-23" level="project" />
|
||||
</component>
|
||||
</module>
|
|
@ -1,7 +1,7 @@
|
|||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
compileSdkVersion 28
|
||||
compileSdkVersion 23
|
||||
buildToolsVersion "29.0.2"
|
||||
useLibrary 'org.apache.http.legacy'
|
||||
|
||||
|
|
|
@ -36,8 +36,7 @@
|
|||
<application
|
||||
android:debuggable="true"
|
||||
android:icon="@drawable/icon_app"
|
||||
android:label="@string/app_name"
|
||||
android:testOnly="true" >
|
||||
android:label="@string/app_name" >
|
||||
<activity
|
||||
android:name="net.micode.notes.ui.NotesListActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
|
|
|
@ -37,8 +37,7 @@
|
|||
<application
|
||||
android:debuggable="true"
|
||||
android:icon="@drawable/icon_app"
|
||||
android:label="@string/app_name"
|
||||
android:testOnly="true" >
|
||||
android:label="@string/app_name" >
|
||||
<activity
|
||||
android:name="net.micode.notes.ui.NotesListActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
|
|
|
@ -58,215 +58,214 @@
|
|||
37 android:debuggable="true"
|
||||
38 android:icon="@drawable/icon_app"
|
||||
38-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:34:9-42
|
||||
39 android:label="@string/app_name"
|
||||
39 android:label="@string/app_name" >
|
||||
39-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:35:9-41
|
||||
40 android:testOnly="true" >
|
||||
41 <activity
|
||||
41-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:36:9-49:20
|
||||
42 android:name="net.micode.notes.ui.NotesListActivity"
|
||||
42-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:37:13-49
|
||||
43 android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
43-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:38:13-74
|
||||
44 android:label="@string/app_name"
|
||||
44-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:39:13-45
|
||||
45 android:launchMode="singleTop"
|
||||
45-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:40:13-43
|
||||
46 android:theme="@style/NoteTheme"
|
||||
46-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:41:13-45
|
||||
47 android:uiOptions="splitActionBarWhenNarrow"
|
||||
47-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:42:13-57
|
||||
48 android:windowSoftInputMode="adjustPan" >
|
||||
48-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:43:13-52
|
||||
49 <intent-filter>
|
||||
49-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:45:13-48:29
|
||||
50 <action android:name="android.intent.action.MAIN" />
|
||||
50-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:46:17-69
|
||||
50-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:46:25-66
|
||||
51
|
||||
52 <category android:name="android.intent.category.LAUNCHER" />
|
||||
52-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:47:17-77
|
||||
52-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:47:27-74
|
||||
53 </intent-filter>
|
||||
54 </activity>
|
||||
55 <activity
|
||||
55-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:51:9-79:20
|
||||
56 android:name="net.micode.notes.ui.NoteEditActivity"
|
||||
56-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:52:13-48
|
||||
57 android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
57-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:53:13-74
|
||||
58 android:launchMode="singleTop"
|
||||
58-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:54:13-43
|
||||
59 android:theme="@style/NoteTheme" >
|
||||
59-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:55:13-45
|
||||
60 <intent-filter>
|
||||
60-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:57:13-62:29
|
||||
61 <action android:name="android.intent.action.VIEW" />
|
||||
61-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:58:17-69
|
||||
61-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:58:25-66
|
||||
62
|
||||
63 <category android:name="android.intent.category.DEFAULT" />
|
||||
63-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:17-76
|
||||
63-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:27-73
|
||||
64
|
||||
65 <data android:mimeType="vnd.android.cursor.item/text_note" />
|
||||
40 <activity
|
||||
40-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:36:9-49:20
|
||||
41 android:name="net.micode.notes.ui.NotesListActivity"
|
||||
41-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:37:13-49
|
||||
42 android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
42-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:38:13-74
|
||||
43 android:label="@string/app_name"
|
||||
43-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:39:13-45
|
||||
44 android:launchMode="singleTop"
|
||||
44-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:40:13-43
|
||||
45 android:theme="@style/NoteTheme"
|
||||
45-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:41:13-45
|
||||
46 android:uiOptions="splitActionBarWhenNarrow"
|
||||
46-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:42:13-57
|
||||
47 android:windowSoftInputMode="adjustPan" >
|
||||
47-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:43:13-52
|
||||
48 <intent-filter>
|
||||
48-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:45:13-48:29
|
||||
49 <action android:name="android.intent.action.MAIN" />
|
||||
49-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:46:17-69
|
||||
49-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:46:25-66
|
||||
50
|
||||
51 <category android:name="android.intent.category.LAUNCHER" />
|
||||
51-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:47:17-77
|
||||
51-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:47:27-74
|
||||
52 </intent-filter>
|
||||
53 </activity>
|
||||
54 <activity
|
||||
54-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:51:9-79:20
|
||||
55 android:name="net.micode.notes.ui.NoteEditActivity"
|
||||
55-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:52:13-48
|
||||
56 android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
56-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:53:13-74
|
||||
57 android:launchMode="singleTop"
|
||||
57-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:54:13-43
|
||||
58 android:theme="@style/NoteTheme" >
|
||||
58-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:55:13-45
|
||||
59 <intent-filter>
|
||||
59-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:57:13-62:29
|
||||
60 <action android:name="android.intent.action.VIEW" />
|
||||
60-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:58:17-69
|
||||
60-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:58:25-66
|
||||
61
|
||||
62 <category android:name="android.intent.category.DEFAULT" />
|
||||
62-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:17-76
|
||||
62-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:27-73
|
||||
63
|
||||
64 <data android:mimeType="vnd.android.cursor.item/text_note" />
|
||||
64-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:17-78
|
||||
64-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:23-75
|
||||
65 <data android:mimeType="vnd.android.cursor.item/call_note" />
|
||||
65-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:17-78
|
||||
65-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:23-75
|
||||
66 <data android:mimeType="vnd.android.cursor.item/call_note" />
|
||||
66-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:17-78
|
||||
66-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:23-75
|
||||
67 </intent-filter>
|
||||
68 <intent-filter>
|
||||
68-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:64:13-69:29
|
||||
69 <action android:name="android.intent.action.INSERT_OR_EDIT" />
|
||||
69-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:65:17-79
|
||||
69-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:65:25-76
|
||||
70
|
||||
71 <category android:name="android.intent.category.DEFAULT" />
|
||||
71-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:17-76
|
||||
71-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:27-73
|
||||
72
|
||||
73 <data android:mimeType="vnd.android.cursor.item/text_note" />
|
||||
66 </intent-filter>
|
||||
67 <intent-filter>
|
||||
67-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:64:13-69:29
|
||||
68 <action android:name="android.intent.action.INSERT_OR_EDIT" />
|
||||
68-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:65:17-79
|
||||
68-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:65:25-76
|
||||
69
|
||||
70 <category android:name="android.intent.category.DEFAULT" />
|
||||
70-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:17-76
|
||||
70-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:27-73
|
||||
71
|
||||
72 <data android:mimeType="vnd.android.cursor.item/text_note" />
|
||||
72-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:17-78
|
||||
72-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:23-75
|
||||
73 <data android:mimeType="vnd.android.cursor.item/call_note" />
|
||||
73-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:17-78
|
||||
73-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:23-75
|
||||
74 <data android:mimeType="vnd.android.cursor.item/call_note" />
|
||||
74-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:17-78
|
||||
74-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:60:23-75
|
||||
75 </intent-filter>
|
||||
76 <intent-filter>
|
||||
76-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:71:13-74:29
|
||||
77 <action android:name="android.intent.action.SEARCH" />
|
||||
77-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:72:17-71
|
||||
77-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:72:25-68
|
||||
78
|
||||
79 <category android:name="android.intent.category.DEFAULT" />
|
||||
79-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:17-76
|
||||
79-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:27-73
|
||||
80 </intent-filter>
|
||||
81
|
||||
82 <meta-data
|
||||
82-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:76:13-78:54
|
||||
83 android:name="android.app.searchable"
|
||||
83-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:77:17-54
|
||||
84 android:resource="@xml/searchable" />
|
||||
84-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:78:17-51
|
||||
85 </activity>
|
||||
86
|
||||
87 <provider
|
||||
87-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:81:9-84:43
|
||||
88 android:name="net.micode.notes.data.NotesProvider"
|
||||
88-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:82:13-63
|
||||
89 android:authorities="micode_notes"
|
||||
89-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:83:13-47
|
||||
90 android:multiprocess="true" />
|
||||
90-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:84:13-40
|
||||
91
|
||||
92 <receiver
|
||||
92-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:86:9-98:20
|
||||
93 android:name="net.micode.notes.widget.NoteWidgetProvider_2x"
|
||||
93-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:87:13-57
|
||||
94 android:label="@string/app_widget2x2" >
|
||||
94-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:88:13-50
|
||||
95 <intent-filter>
|
||||
95-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:89:13-93:29
|
||||
96 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
||||
96-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:90:17-84
|
||||
96-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:90:25-81
|
||||
97 <action android:name="android.appwidget.action.APPWIDGET_DELETED" />
|
||||
97-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:91:17-85
|
||||
97-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:91:25-82
|
||||
98 <action android:name="android.intent.action.PRIVACY_MODE_CHANGED" />
|
||||
98-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:92:17-85
|
||||
98-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:92:25-82
|
||||
99 </intent-filter>
|
||||
100
|
||||
101 <meta-data
|
||||
101-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:95:13-97:58
|
||||
102 android:name="android.appwidget.provider"
|
||||
102-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:96:17-58
|
||||
103 android:resource="@xml/widget_2x_info" />
|
||||
103-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:97:17-55
|
||||
104 </receiver>
|
||||
105 <receiver
|
||||
105-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:99:9-112:20
|
||||
106 android:name="net.micode.notes.widget.NoteWidgetProvider_4x"
|
||||
106-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:100:13-57
|
||||
107 android:label="@string/app_widget4x4" >
|
||||
107-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:101:13-50
|
||||
108 <intent-filter>
|
||||
108-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:89:13-93:29
|
||||
109 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
||||
109-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:90:17-84
|
||||
109-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:90:25-81
|
||||
110 <action android:name="android.appwidget.action.APPWIDGET_DELETED" />
|
||||
110-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:91:17-85
|
||||
110-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:91:25-82
|
||||
111 <action android:name="android.intent.action.PRIVACY_MODE_CHANGED" />
|
||||
111-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:92:17-85
|
||||
111-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:92:25-82
|
||||
112 </intent-filter>
|
||||
113
|
||||
114 <meta-data
|
||||
114-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:95:13-97:58
|
||||
115 android:name="android.appwidget.provider"
|
||||
115-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:96:17-58
|
||||
116 android:resource="@xml/widget_4x_info" />
|
||||
116-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:97:17-55
|
||||
117 </receiver>
|
||||
118 <receiver android:name="net.micode.notes.ui.AlarmInitReceiver" >
|
||||
118-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:114:9-118:20
|
||||
118-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:114:19-55
|
||||
119 <intent-filter>
|
||||
119-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:115:13-117:29
|
||||
120 <action android:name="android.intent.action.BOOT_COMPLETED" />
|
||||
120-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:116:17-79
|
||||
120-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:116:25-76
|
||||
121 </intent-filter>
|
||||
122 </receiver>
|
||||
123 <receiver
|
||||
123-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:120:9-123:20
|
||||
124 android:name="net.micode.notes.ui.AlarmReceiver"
|
||||
124-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:121:13-61
|
||||
125 android:process=":remote" >
|
||||
125-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:122:13-38
|
||||
126 </receiver>
|
||||
127
|
||||
128 <activity
|
||||
128-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:125:9-130:20
|
||||
129 android:name="net.micode.notes.ui.AlarmAlertActivity"
|
||||
129-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:126:13-50
|
||||
130 android:label="@string/app_name"
|
||||
130-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:127:13-45
|
||||
131 android:launchMode="singleInstance"
|
||||
131-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:128:13-48
|
||||
132 android:theme="@android:style/Theme.Holo.Wallpaper.NoTitleBar" >
|
||||
132-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:129:13-75
|
||||
133 </activity>
|
||||
134 <activity
|
||||
134-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:132:9-137:20
|
||||
135 android:name="net.micode.notes.ui.NotesPreferenceActivity"
|
||||
135-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:133:13-71
|
||||
136 android:label="@string/preferences_title"
|
||||
136-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:134:13-54
|
||||
137 android:launchMode="singleTop"
|
||||
137-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:135:13-43
|
||||
138 android:theme="@android:style/Theme.Holo.Light" >
|
||||
138-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:136:13-60
|
||||
139 </activity>
|
||||
140
|
||||
141 <service
|
||||
141-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:139:9-142:19
|
||||
142 android:name="net.micode.notes.gtask.remote.GTaskSyncService"
|
||||
142-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:140:13-74
|
||||
143 android:exported="false" >
|
||||
143-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:141:13-37
|
||||
144 </service>
|
||||
145
|
||||
146 <meta-data
|
||||
146-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:144:9-146:52
|
||||
147 android:name="android.app.default_searchable"
|
||||
147-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:145:13-58
|
||||
148 android:value=".ui.NoteEditActivity" />
|
||||
148-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:146:13-49
|
||||
149 </application>
|
||||
150
|
||||
151</manifest>
|
||||
74 </intent-filter>
|
||||
75 <intent-filter>
|
||||
75-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:71:13-74:29
|
||||
76 <action android:name="android.intent.action.SEARCH" />
|
||||
76-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:72:17-71
|
||||
76-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:72:25-68
|
||||
77
|
||||
78 <category android:name="android.intent.category.DEFAULT" />
|
||||
78-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:17-76
|
||||
78-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:59:27-73
|
||||
79 </intent-filter>
|
||||
80
|
||||
81 <meta-data
|
||||
81-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:76:13-78:54
|
||||
82 android:name="android.app.searchable"
|
||||
82-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:77:17-54
|
||||
83 android:resource="@xml/searchable" />
|
||||
83-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:78:17-51
|
||||
84 </activity>
|
||||
85
|
||||
86 <provider
|
||||
86-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:81:9-84:43
|
||||
87 android:name="net.micode.notes.data.NotesProvider"
|
||||
87-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:82:13-63
|
||||
88 android:authorities="micode_notes"
|
||||
88-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:83:13-47
|
||||
89 android:multiprocess="true" />
|
||||
89-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:84:13-40
|
||||
90
|
||||
91 <receiver
|
||||
91-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:86:9-98:20
|
||||
92 android:name="net.micode.notes.widget.NoteWidgetProvider_2x"
|
||||
92-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:87:13-57
|
||||
93 android:label="@string/app_widget2x2" >
|
||||
93-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:88:13-50
|
||||
94 <intent-filter>
|
||||
94-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:89:13-93:29
|
||||
95 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
||||
95-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:90:17-84
|
||||
95-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:90:25-81
|
||||
96 <action android:name="android.appwidget.action.APPWIDGET_DELETED" />
|
||||
96-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:91:17-85
|
||||
96-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:91:25-82
|
||||
97 <action android:name="android.intent.action.PRIVACY_MODE_CHANGED" />
|
||||
97-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:92:17-85
|
||||
97-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:92:25-82
|
||||
98 </intent-filter>
|
||||
99
|
||||
100 <meta-data
|
||||
100-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:95:13-97:58
|
||||
101 android:name="android.appwidget.provider"
|
||||
101-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:96:17-58
|
||||
102 android:resource="@xml/widget_2x_info" />
|
||||
102-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:97:17-55
|
||||
103 </receiver>
|
||||
104 <receiver
|
||||
104-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:99:9-112:20
|
||||
105 android:name="net.micode.notes.widget.NoteWidgetProvider_4x"
|
||||
105-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:100:13-57
|
||||
106 android:label="@string/app_widget4x4" >
|
||||
106-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:101:13-50
|
||||
107 <intent-filter>
|
||||
107-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:89:13-93:29
|
||||
108 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
||||
108-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:90:17-84
|
||||
108-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:90:25-81
|
||||
109 <action android:name="android.appwidget.action.APPWIDGET_DELETED" />
|
||||
109-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:91:17-85
|
||||
109-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:91:25-82
|
||||
110 <action android:name="android.intent.action.PRIVACY_MODE_CHANGED" />
|
||||
110-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:92:17-85
|
||||
110-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:92:25-82
|
||||
111 </intent-filter>
|
||||
112
|
||||
113 <meta-data
|
||||
113-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:95:13-97:58
|
||||
114 android:name="android.appwidget.provider"
|
||||
114-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:96:17-58
|
||||
115 android:resource="@xml/widget_4x_info" />
|
||||
115-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:97:17-55
|
||||
116 </receiver>
|
||||
117 <receiver android:name="net.micode.notes.ui.AlarmInitReceiver" >
|
||||
117-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:114:9-118:20
|
||||
117-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:114:19-55
|
||||
118 <intent-filter>
|
||||
118-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:115:13-117:29
|
||||
119 <action android:name="android.intent.action.BOOT_COMPLETED" />
|
||||
119-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:116:17-79
|
||||
119-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:116:25-76
|
||||
120 </intent-filter>
|
||||
121 </receiver>
|
||||
122 <receiver
|
||||
122-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:120:9-123:20
|
||||
123 android:name="net.micode.notes.ui.AlarmReceiver"
|
||||
123-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:121:13-61
|
||||
124 android:process=":remote" >
|
||||
124-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:122:13-38
|
||||
125 </receiver>
|
||||
126
|
||||
127 <activity
|
||||
127-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:125:9-130:20
|
||||
128 android:name="net.micode.notes.ui.AlarmAlertActivity"
|
||||
128-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:126:13-50
|
||||
129 android:label="@string/app_name"
|
||||
129-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:127:13-45
|
||||
130 android:launchMode="singleInstance"
|
||||
130-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:128:13-48
|
||||
131 android:theme="@android:style/Theme.Holo.Wallpaper.NoTitleBar" >
|
||||
131-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:129:13-75
|
||||
132 </activity>
|
||||
133 <activity
|
||||
133-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:132:9-137:20
|
||||
134 android:name="net.micode.notes.ui.NotesPreferenceActivity"
|
||||
134-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:133:13-71
|
||||
135 android:label="@string/preferences_title"
|
||||
135-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:134:13-54
|
||||
136 android:launchMode="singleTop"
|
||||
136-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:135:13-43
|
||||
137 android:theme="@android:style/Theme.Holo.Light" >
|
||||
137-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:136:13-60
|
||||
138 </activity>
|
||||
139
|
||||
140 <service
|
||||
140-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:139:9-142:19
|
||||
141 android:name="net.micode.notes.gtask.remote.GTaskSyncService"
|
||||
141-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:140:13-74
|
||||
142 android:exported="false" >
|
||||
142-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:141:13-37
|
||||
143 </service>
|
||||
144
|
||||
145 <meta-data
|
||||
145-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:144:9-146:52
|
||||
146 android:name="android.app.default_searchable"
|
||||
146-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:145:13-58
|
||||
147 android:value=".ui.NoteEditActivity" />
|
||||
147-->C:\Project\minote\src\app\src\main\AndroidManifest.xml:146:13-49
|
||||
148 </application>
|
||||
149
|
||||
150</manifest>
|
||||
|
|
|
@ -36,8 +36,7 @@
|
|||
<application
|
||||
android:debuggable="true"
|
||||
android:icon="@drawable/icon_app"
|
||||
android:label="@string/app_name"
|
||||
android:testOnly="true" >
|
||||
android:label="@string/app_name" >
|
||||
<activity
|
||||
android:name="net.micode.notes.ui.NotesListActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
|
|
|
@ -36,6 +36,7 @@ public class NotesDatabaseHelper extends SQLiteOpenHelper {
|
|||
|
||||
private static final int DB_VERSION = 4;
|
||||
|
||||
//数据库表项
|
||||
public interface TABLE {
|
||||
public static final String NOTE = "note";
|
||||
|
||||
|
@ -53,16 +54,16 @@ public class NotesDatabaseHelper extends SQLiteOpenHelper {
|
|||
NoteColumns.PARENT_ID + " INTEGER NOT NULL DEFAULT 0," +
|
||||
NoteColumns.ALERTED_DATE + " INTEGER NOT NULL DEFAULT 0," +
|
||||
NoteColumns.BG_COLOR_ID + " INTEGER NOT NULL DEFAULT 0," +
|
||||
NoteColumns.CREATED_DATE + " INTEGER NOT NULL DEFAULT (strftime('%s','now') * 1000)," +
|
||||
NoteColumns.CREATED_DATE + " INTEGER NOT NULL DEFAULT (strftime('%s','now') * 1000)," +//创建时间
|
||||
NoteColumns.HAS_ATTACHMENT + " INTEGER NOT NULL DEFAULT 0," +
|
||||
NoteColumns.MODIFIED_DATE + " INTEGER NOT NULL DEFAULT (strftime('%s','now') * 1000)," +
|
||||
NoteColumns.MODIFIED_DATE + " INTEGER NOT NULL DEFAULT (strftime('%s','now') * 1000)," +//最近修改时间
|
||||
NoteColumns.NOTES_COUNT + " INTEGER NOT NULL DEFAULT 0," +
|
||||
NoteColumns.SNIPPET + " TEXT NOT NULL DEFAULT ''," +
|
||||
NoteColumns.TYPE + " INTEGER NOT NULL DEFAULT 0," +
|
||||
NoteColumns.WIDGET_ID + " INTEGER NOT NULL DEFAULT 0," +
|
||||
NoteColumns.WIDGET_TYPE + " INTEGER NOT NULL DEFAULT -1," +
|
||||
NoteColumns.SYNC_ID + " INTEGER NOT NULL DEFAULT 0," +
|
||||
NoteColumns.LOCAL_MODIFIED + " INTEGER NOT NULL DEFAULT 0," +
|
||||
NoteColumns.SYNC_ID + " INTEGER NOT NULL DEFAULT 0," +//同步id
|
||||
NoteColumns.LOCAL_MODIFIED + " INTEGER NOT NULL DEFAULT 0," +//判断是否本地修改
|
||||
NoteColumns.ORIGIN_PARENT_ID + " INTEGER NOT NULL DEFAULT 0," +
|
||||
NoteColumns.GTASK_ID + " TEXT NOT NULL DEFAULT ''," +
|
||||
NoteColumns.VERSION + " INTEGER NOT NULL DEFAULT 0" +
|
||||
|
@ -72,9 +73,9 @@ public class NotesDatabaseHelper extends SQLiteOpenHelper {
|
|||
"CREATE TABLE " + TABLE.DATA + "(" +
|
||||
DataColumns.ID + " INTEGER PRIMARY KEY," +
|
||||
DataColumns.MIME_TYPE + " TEXT NOT NULL," +
|
||||
DataColumns.NOTE_ID + " INTEGER NOT NULL DEFAULT 0," +
|
||||
NoteColumns.CREATED_DATE + " INTEGER NOT NULL DEFAULT (strftime('%s','now') * 1000)," +
|
||||
NoteColumns.MODIFIED_DATE + " INTEGER NOT NULL DEFAULT (strftime('%s','now') * 1000)," +
|
||||
DataColumns.NOTE_ID + " INTEGER NOT NULL DEFAULT 0," +//便签id
|
||||
NoteColumns.CREATED_DATE + " INTEGER NOT NULL DEFAULT (strftime('%s','now') * 1000)," +//创建时间
|
||||
NoteColumns.MODIFIED_DATE + " INTEGER NOT NULL DEFAULT (strftime('%s','now') * 1000)," +//最近修改时间
|
||||
DataColumns.CONTENT + " TEXT NOT NULL DEFAULT ''," +
|
||||
DataColumns.DATA1 + " INTEGER," +
|
||||
DataColumns.DATA2 + " INTEGER," +
|
||||
|
@ -101,6 +102,7 @@ public class NotesDatabaseHelper extends SQLiteOpenHelper {
|
|||
|
||||
/**
|
||||
* 当从文件夹中移除便签时,减少便签数量
|
||||
* SQL语句,对数据库进行操作
|
||||
*/
|
||||
private static final String NOTE_DECREASE_FOLDER_COUNT_ON_UPDATE_TRIGGER =
|
||||
"CREATE TRIGGER decrease_folder_count_on_update " +
|
||||
|
@ -243,15 +245,25 @@ public class NotesDatabaseHelper extends SQLiteOpenHelper {
|
|||
db.execSQL("DROP TRIGGER IF EXISTS folder_delete_notes_on_delete");
|
||||
db.execSQL("DROP TRIGGER IF EXISTS folder_move_notes_on_trash");
|
||||
|
||||
//增加便签数量当向文件夹移入便签时
|
||||
db.execSQL(NOTE_INCREASE_FOLDER_COUNT_ON_UPDATE_TRIGGER);
|
||||
//减少便签,当移除文件夹中的便签时
|
||||
db.execSQL(NOTE_DECREASE_FOLDER_COUNT_ON_UPDATE_TRIGGER);
|
||||
//减少便签数量,当从文件夹中删除便签时
|
||||
db.execSQL(NOTE_DECREASE_FOLDER_COUNT_ON_DELETE_TRIGGER);
|
||||
//删除已经被删除的便签
|
||||
db.execSQL(NOTE_DELETE_DATA_ON_DELETE_TRIGGER);
|
||||
//增加便签数量,当在文件夹中插入便签时
|
||||
db.execSQL(NOTE_INCREASE_FOLDER_COUNT_ON_INSERT_TRIGGER);
|
||||
//删除文件夹中已经标记为删除的文件夹
|
||||
db.execSQL(FOLDER_DELETE_NOTES_ON_DELETE_TRIGGER);
|
||||
//将便签移动到垃圾文件夹中
|
||||
db.execSQL(FOLDER_MOVE_NOTES_ON_TRASH_TRIGGER);
|
||||
}
|
||||
|
||||
/*
|
||||
* 该方法实现了在数据库中创建系统文件夹的功能
|
||||
* */
|
||||
private void createSystemFolder(SQLiteDatabase db) {
|
||||
ContentValues values = new ContentValues();
|
||||
|
||||
|
@ -268,10 +280,11 @@ public class NotesDatabaseHelper extends SQLiteOpenHelper {
|
|||
values.clear();
|
||||
values.put(NoteColumns.ID, Notes.ID_ROOT_FOLDER);
|
||||
values.put(NoteColumns.TYPE, Notes.TYPE_SYSTEM);
|
||||
//向数据库中插入便签表与内容
|
||||
db.insert(TABLE.NOTE, null, values);
|
||||
|
||||
/**
|
||||
* temporary folder which is used for moving note
|
||||
* 用于移动便签的临时数据库
|
||||
*/
|
||||
values.clear();
|
||||
values.put(NoteColumns.ID, Notes.ID_TEMPARAY_FOLDER);
|
||||
|
@ -292,9 +305,12 @@ public class NotesDatabaseHelper extends SQLiteOpenHelper {
|
|||
* @ db SQL数据库
|
||||
* */
|
||||
public void createDataTable(SQLiteDatabase db) {
|
||||
//在数据库中创建数据表项
|
||||
db.execSQL(CREATE_DATA_TABLE_SQL);
|
||||
//如果发生更改,重建数据库
|
||||
reCreateDataTableTriggers(db);
|
||||
db.execSQL(CREATE_DATA_NOTE_ID_INDEX_SQL);
|
||||
//如果数据表已经被创建,向日志中加入调试信息
|
||||
Log.d(TAG, "data table has been created");
|
||||
}
|
||||
|
||||
|
@ -307,8 +323,10 @@ public class NotesDatabaseHelper extends SQLiteOpenHelper {
|
|||
db.execSQL("DROP TRIGGER IF EXISTS update_note_content_on_update");
|
||||
db.execSQL("DROP TRIGGER IF EXISTS update_note_content_on_delete");
|
||||
|
||||
//更新数据库当便签内容改变时
|
||||
db.execSQL(DATA_UPDATE_NOTE_CONTENT_ON_INSERT_TRIGGER);
|
||||
db.execSQL(DATA_UPDATE_NOTE_CONTENT_ON_UPDATE_TRIGGER);
|
||||
//删除便签内容
|
||||
db.execSQL(DATA_UPDATE_NOTE_CONTENT_ON_DELETE_TRIGGER);
|
||||
}
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ import java.util.regex.Matcher;
|
|||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
*
|
||||
* 该类实现了便签编辑功能的实现
|
||||
*/
|
||||
public class NoteEditActivity extends Activity implements OnClickListener,
|
||||
NoteSettingChangedListener, OnTextViewChangeListener {
|
||||
|
|
Loading…
Reference in New Issue