在 android 中,使用 SearchNotes.java 示例和我的一个非常简单的添加:
Log.d("something", title + " "+ note.getUpdated() + " "+ note.getNotebookGuid());
Api 只返回 0 或 null!我错过了什么吗?
代码上下文的更多细节:
try{
mEvernoteSession.getClientFactory().createNoteStoreClient()
.findNotesMetadata(filter, offset, pageSize, spec, new OnClientCallback<NotesMetadataList>() {
@Override
public void onSuccess(NotesMetadataList data) {
Toast.makeText(getApplicationContext(), R.string.notes_searched, Toast.LENGTH_LONG).show();
removeDialog(DIALOG_PROGRESS);
for(NoteMetadata note : data.getNotes()) {
String title = note.getTitle();
notesNames.add(title);
Log.d("something", title + " "+ note.getUpdated() + " "+ note.getNotebookGuid());
}