调试出分析,闹钟,菜单等功能

master
jjjzyhbx 1 year ago
parent 0271de4982
commit 2a1c8ab71e

@ -40,7 +40,25 @@ import net.micode.notes.tool.DataUtils;
import java.io.IOException;
/**
* AlarmAlertActivity OnClickListener OnDismissListener
*
*
*
* mNoteId ID
* mSnippet SNIPPET_PREW_MAX_LEN
* SNIPPET_PREW_MAX_LEN 60
* mPlayer MediaPlayer
*
*
* onClick(View v) OnClickListener
* onDismiss(DialogInterface dialog) OnDismissListener
* onCreate(Bundle savedInstanceState)Activity Activity
* onResume()Activity Activity
* onPause()Activity Activity
* onStop()Activity Activity MediaPlayer
* onDestroy()Activity Activity MediaPlayer
*/
public class AlarmAlertActivity extends AppCompatActivity implements OnClickListener, OnDismissListener {
private long mNoteId;
private String mSnippet;

@ -27,7 +27,17 @@ import android.database.Cursor;
import net.micode.notes.data.Notes;
import net.micode.notes.data.Notes.NoteColumns;
/**
* AlarmInitReceiver 广,:
*
* AlarmManager PendingIntent Android,便
*
* 广,使 PROJECTION ID
*
* ,使AlarmManager PendingIntent PendingIntent 广
*
* intent filter AndroidManifest.xml , "android.intent.action.BOOT_COMPLETED"
*/
public class AlarmInitReceiver extends BroadcastReceiver {
private static final String [] PROJECTION = new String [] {

@ -28,6 +28,27 @@ import net.micode.notes.R;
import net.micode.notes.data.Notes;
import net.micode.notes.data.Notes.NoteColumns;
/**
* FoldersListAdapter CursorAdapter , Cursor()
*
* :
*
* PROJECTION ,: ID
*
* :ID_COLUMN NAME_COLUMN Cursor
*
* CursorAdapter , Context Cursor
*
* newView() bindView()
*
* ,:
*
*
*
* Cursor
* newView()
* bindView()
*/
public class FoldersListAdapter extends CursorAdapter {
public static final String [] PROJECTION = {

@ -37,6 +37,34 @@ import net.micode.notes.R;
import java.util.HashMap;
import java.util.Map;
/**
* EditText widgets
*
* :
*
* AppCompatEditText ,
*
* :
*
* mIndex - EditText
* mSelectionStartBeforeDelete -
* URL:telhttpmailto
*
* SchemeactionID
*
* :
*
* onTextChanged() - URL
* onCreateContextMenu() - 使
* onClick() -
* , EditText:
*
* AppCompatEditText
*
* URL
* URL
*
*/
public class NoteEditText extends android.support.v7.widget.AppCompatEditText {
private static final String TAG = "NoteEditText";
private int mIndex;

Loading…
Cancel
Save