/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
D | Notepadv3.java | 39 private NotesDbAdapter mDbHelper; 47 mDbHelper = new NotesDbAdapter(this); in onCreate() 59 String[] from = new String[]{NotesDbAdapter.KEY_TITLE}; in fillData() 118 i.putExtra(NotesDbAdapter.KEY_ROWID, id); in onListItemClick() 119 i.putExtra(NotesDbAdapter.KEY_TITLE, c.getString( in onListItemClick() 120 c.getColumnIndexOrThrow(NotesDbAdapter.KEY_TITLE))); in onListItemClick() 121 i.putExtra(NotesDbAdapter.KEY_BODY, c.getString( in onListItemClick() 122 c.getColumnIndexOrThrow(NotesDbAdapter.KEY_BODY))); in onListItemClick() 132 String title = extras.getString(NotesDbAdapter.KEY_TITLE); in onActivityResult() 133 String body = extras.getString(NotesDbAdapter.KEY_BODY); in onActivityResult() [all …]
|
D | NoteEdit.java | 46 String title = extras.getString(NotesDbAdapter.KEY_TITLE); in onCreate() 47 String body = extras.getString(NotesDbAdapter.KEY_BODY); in onCreate() 48 mRowId = extras.getLong(NotesDbAdapter.KEY_ROWID); in onCreate() 63 bundle.putString(NotesDbAdapter.KEY_TITLE, mTitleText.getText().toString()); in onCreate() 64 bundle.putString(NotesDbAdapter.KEY_BODY, mBodyText.getText().toString()); in onCreate() 66 bundle.putLong(NotesDbAdapter.KEY_ROWID, mRowId); in onCreate()
|
D | NotesDbAdapter.java | 37 public class NotesDbAdapter { class 87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() method in NotesDbAdapter 100 public NotesDbAdapter open() throws SQLException { in open()
|
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
D | Notepadv2.java | 39 private NotesDbAdapter mDbHelper; 47 mDbHelper = new NotesDbAdapter(this); in onCreate() 59 String[] from = new String[]{NotesDbAdapter.KEY_TITLE}; in fillData() 118 i.putExtra(NotesDbAdapter.KEY_ROWID, id); in onListItemClick() 119 i.putExtra(NotesDbAdapter.KEY_TITLE, c.getString( in onListItemClick() 120 c.getColumnIndexOrThrow(NotesDbAdapter.KEY_TITLE))); in onListItemClick() 121 i.putExtra(NotesDbAdapter.KEY_BODY, c.getString( in onListItemClick() 122 c.getColumnIndexOrThrow(NotesDbAdapter.KEY_BODY))); in onListItemClick() 132 String title = extras.getString(NotesDbAdapter.KEY_TITLE); in onActivityResult() 133 String body = extras.getString(NotesDbAdapter.KEY_BODY); in onActivityResult() [all …]
|
D | NoteEdit.java | 46 String title = extras.getString(NotesDbAdapter.KEY_TITLE); in onCreate() 47 String body = extras.getString(NotesDbAdapter.KEY_BODY); in onCreate() 48 mRowId = extras.getLong(NotesDbAdapter.KEY_ROWID); in onCreate() 63 bundle.putString(NotesDbAdapter.KEY_TITLE, mTitleText.getText().toString()); in onCreate() 64 bundle.putString(NotesDbAdapter.KEY_BODY, mBodyText.getText().toString()); in onCreate() 66 bundle.putLong(NotesDbAdapter.KEY_ROWID, mRowId); in onCreate()
|
D | NotesDbAdapter.java | 37 public class NotesDbAdapter { class 87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() method in NotesDbAdapter 100 public NotesDbAdapter open() throws SQLException { in open()
|
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/ |
D | NoteEdit.java | 31 private NotesDbAdapter mDbHelper; 36 mDbHelper = new NotesDbAdapter(this); in onCreate() 48 (Long) savedInstanceState.getSerializable(NotesDbAdapter.KEY_ROWID); in onCreate() 51 mRowId = extras != null ? extras.getLong(NotesDbAdapter.KEY_ROWID) in onCreate() 72 note.getColumnIndexOrThrow(NotesDbAdapter.KEY_TITLE))); in populateFields() 74 note.getColumnIndexOrThrow(NotesDbAdapter.KEY_BODY))); in populateFields() 82 outState.putSerializable(NotesDbAdapter.KEY_ROWID, mRowId); in onSaveInstanceState()
|
D | Notepadv3.java | 39 private NotesDbAdapter mDbHelper; 46 mDbHelper = new NotesDbAdapter(this); in onCreate() 57 String[] from = new String[]{NotesDbAdapter.KEY_TITLE}; in fillData() 114 i.putExtra(NotesDbAdapter.KEY_ROWID, id); in onListItemClick()
|
D | NotesDbAdapter.java | 37 public class NotesDbAdapter { class 87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() method in NotesDbAdapter 100 public NotesDbAdapter open() throws SQLException { in open()
|
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/ |
D | Notepadv1.java | 30 private NotesDbAdapter mDbHelper; 37 mDbHelper = new NotesDbAdapter(this); in onCreate() 70 String[] from = new String[] { NotesDbAdapter.KEY_TITLE }; in fillData()
|
D | NotesDbAdapter.java | 37 public class NotesDbAdapter { class 87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() method in NotesDbAdapter 100 public NotesDbAdapter open() throws SQLException { in open()
|
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/ |
D | Notepadv2.java | 38 private NotesDbAdapter mDbHelper; 46 mDbHelper = new NotesDbAdapter(this); in onCreate() 57 String[] from = new String[]{NotesDbAdapter.KEY_TITLE}; in fillData()
|
D | NotesDbAdapter.java | 37 public class NotesDbAdapter { class 87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() method in NotesDbAdapter 100 public NotesDbAdapter open() throws SQLException { in open()
|
/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/ |
D | NotesDbAdapter.java | 37 public class NotesDbAdapter { class 87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() method in NotesDbAdapter 100 public NotesDbAdapter open() throws SQLException { in open()
|