6
pull/13/head
phkej5qlp 7 months ago
commit 17bf353e25

@ -25,6 +25,7 @@ import android.util.Log;
import java.util.HashMap;
/**
* Contact
* 使

@ -18,6 +18,7 @@ package net.micode.notes.data;
import android.net.Uri;
/**
* Notes URI
*

@ -26,6 +26,7 @@ import net.micode.notes.data.Notes.DataColumns;
import net.micode.notes.data.Notes.DataConstants;
import net.micode.notes.data.Notes.NoteColumns;
/**
* NotesDatabaseHelper SQLite
* SQLiteOpenHelper

@ -34,6 +34,7 @@ import net.micode.notes.data.Notes.DataColumns;
import net.micode.notes.data.Notes.NoteColumns;
import net.micode.notes.data.NotesDatabaseHelper.TABLE;
public class NotesProvider extends ContentProvider {
// URI Matcher 用于将 URI 映射到相应的操作
private static final UriMatcher mMatcher;

@ -25,6 +25,7 @@ import org.json.JSONException;
import org.json.JSONObject;
public class MetaData extends Task {
/*
* TAG

@ -20,6 +20,7 @@ import android.database.Cursor;
import org.json.JSONObject;
public abstract class Node {
//定义了各种用于表征同步状态的常量
public static final int SYNC_ACTION_NONE = 0;// 本地和云端都无可更新内容(即本地和云端内容一致)

@ -20,6 +20,7 @@
*/
package net.micode.notes.gtask.data;
/*
* Description便sqlnotedatanote
* SqlData

@ -20,6 +20,7 @@
*/
package net.micode.notes.gtask.data;
/*
*
*

@ -16,6 +16,7 @@
package net.micode.notes.gtask.data;
import android.database.Cursor;
import android.text.TextUtils;
import android.util.Log;

@ -16,6 +16,7 @@
package net.micode.notes.gtask.data;
import android.database.Cursor;
import android.util.Log;

@ -19,6 +19,7 @@
*/
package net.micode.notes.gtask.exception;
public class ActionFailureException extends RuntimeException {
private static final long serialVersionUID = 4425249765923293627L;

@ -19,6 +19,7 @@
*/
package net.micode.notes.gtask.exception;
public class NetworkFailureException extends Exception {
private static final long serialVersionUID = 2107610287180234136L;

@ -15,6 +15,7 @@
* limitations under the License.
*/
package net.micode.notes.gtask.remote;
/*GTask
*

@ -16,6 +16,7 @@
package net.micode.notes.gtask.remote;
/*
* GTASKGTASK
* 使accountManager JSONObject HttpParams authToken Gid

@ -16,6 +16,7 @@
package net.micode.notes.gtask.remote;
import android.app.Activity;
import android.content.ContentResolver;
import android.content.ContentUris;

@ -14,6 +14,7 @@
* limitations under the License.
*/
package net.micode.notes.gtask.remote;
/*
* Service

@ -14,6 +14,7 @@
* limitations under the License.
*/
package net.micode.notes.model;
import android.content.ContentProviderOperation;

@ -32,6 +32,7 @@ import net.micode.notes.data.Notes.TextNote;
import net.micode.notes.tool.ResourceParser.NoteBgResources;
/**
* WorkingNote
*/

@ -35,6 +35,7 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintStream;
public class BackupUtils {
private static final String TAG = "BackupUtils"; // 定义日志标签
private static BackupUtils sInstance; // 单例模式实例

@ -35,6 +35,7 @@ import java.util.ArrayList;
import java.util.HashSet;
public class DataUtils {
public static final String TAG = "DataUtils"; // 日志标签

@ -16,6 +16,7 @@
package net.micode.notes.tool;
public class GTaskStringUtils {
// GTASK 相关的 JSON 字段名常量

@ -16,6 +16,7 @@
package net.micode.notes.tool;
import android.content.Context;
import android.preference.PreferenceManager;

@ -16,6 +16,7 @@
package net.micode.notes.ui;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;

@ -28,6 +28,7 @@ import net.micode.notes.data.Notes;
import net.micode.notes.data.Notes.NoteColumns;
public class AlarmInitReceiver extends BroadcastReceiver {
// 定义查询笔记的列,只查询 ID 和 ALERTED_DATE

@ -16,6 +16,7 @@
package net.micode.notes.ui;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

@ -16,6 +16,7 @@
package net.micode.notes.ui;
import java.text.DateFormatSymbols;
import java.util.Calendar;

@ -16,6 +16,7 @@
package net.micode.notes.ui;
import java.util.Calendar;
import net.micode.notes.R;

@ -16,6 +16,7 @@
package net.micode.notes.ui;
import android.content.Context;
import android.view.Menu;
import android.view.MenuItem;

@ -16,6 +16,7 @@
package net.micode.notes.ui;
import android.content.Context;
import android.database.Cursor;
import android.view.View;

@ -16,6 +16,7 @@
package net.micode.notes.ui;
import android.app.Activity;
import android.app.AlarmManager;
import android.app.AlertDialog;

@ -16,6 +16,7 @@
package net.micode.notes.ui;
import android.content.Context;
import android.graphics.Rect;
import android.text.Layout;

@ -25,6 +25,7 @@ import net.micode.notes.data.Notes;
import net.micode.notes.data.Notes.NoteColumns;
import net.micode.notes.tool.DataUtils;
/**
* NoteItemData
* ID

@ -14,6 +14,7 @@
* limitations under the License.
*/
package net.micode.notes.ui;
import android.app.Activity;

@ -31,6 +31,7 @@ import java.util.HashSet;
import java.util.Iterator;
/**
*
* CursorAdapterCursor

@ -16,6 +16,7 @@
package net.micode.notes.ui;
import android.content.Context;
import android.text.format.DateUtils;
import android.view.View;

@ -16,6 +16,7 @@
package net.micode.notes.ui;
import android.accounts.Account;
import android.accounts.AccountManager;
import android.app.ActionBar;

@ -14,6 +14,7 @@
* limitations under the License.
*/
package net.micode.notes.widget;
import android.app.PendingIntent;

@ -14,6 +14,7 @@
* limitations under the License.
*/
package net.micode.notes.widget;
import android.appwidget.AppWidgetManager;

@ -14,6 +14,7 @@
* limitations under the License.
*/
package net.micode.notes.widget;
import android.appwidget.AppWidgetManager;

Loading…
Cancel
Save