This commit is contained in:
parent
2186942fb4
commit
122ed2135a
|
@ -285,6 +285,7 @@ public class BackupUtils {
|
|||
+ "=0", null, null);
|
||||
|
||||
if (noteCursor != null) {
|
||||
//如果不为空
|
||||
if (noteCursor.moveToFirst()) {
|
||||
do {
|
||||
ps.println(String.format(getFormat(FORMAT_NOTE_DATE), DateFormat.format(
|
||||
|
@ -292,6 +293,7 @@ public class BackupUtils {
|
|||
noteCursor.getLong(NOTE_COLUMN_MODIFIED_DATE))));
|
||||
// Query data belong to this note
|
||||
String noteId = noteCursor.getString(NOTE_COLUMN_ID);
|
||||
//通过id导出文本
|
||||
exportNoteToText(noteId, ps);
|
||||
} while (noteCursor.moveToNext());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue