Slide: http://goo.gl/RPbGVn
About Evernote SDK API trick or experience discussion: (for iOS/Android.)
-
findNote — http://dev.evernote.com/doc/reference/NoteStore.html#Fn_NoteStore_findNotes
-
-
It must
-
It is depressed, because it has performance issue to get all notes entity (include all attachment)
-
But it still could use for now.
-
It alway need to assign number of notes, but you could recessive to get all notes.
-
Currently Evernote official will suggest to use “findNotesMetadata” and “getNote”
- if you need to ordering your result, using filter.
-
-
findNotesMetadata — http://dev.evernote.com/doc/reference/NoteStore.html#Fn_NoteStore_findNotesMetadata
-
- Please note: findNote performance is still better than findNotesMetadata + getNote
-
getNote — (http://dev.evernote.com/doc/reference/NoteStore.html#Fn_NoteStore_getNote)
-
getNote(
string
authenticationToken,Types.Guid
guid,bool
withContent,bool
withResourcesData,bool
withResourcesRecognition,bool
withResourcesAlternateData)-
withResourcesRecognition —
-
It help to get back image recognition(evernote specific), but it will depends on priority (pay account first)
-
withContent —
-
content is HTML data using
HTML data , you could easily to putHTML data to browser. -
withResourcesData —
- For attachment or image
it will contain a hash code for your to reserve file .
-
-
createNoteBook — http://dev.evernote.com/doc/reference/NoteStore.html#Fn_NoteStore_createNotebook
-
-
NoteBook “setName” could not duplicate.
- It could be easily to getNoteBook first before you try to createNoteBook.
-
-
createNote — http://dev.evernote.com/doc/reference/NoteStore.html#Fn_NoteStore_createNote
-
-
createNote using “setTitle” not setName. :)
-
Need to add
for your HTML before you create note, using EvernoteUtil.createEnMediaTag -
EML (Evernote Metadata Language)
-
Need take care
if you need using browser to display it. -
might broken, because any WYSIWYG editor has the same issue.
-
-
Image handle in Android
-
- Need using InputStream to handle it locally before you add to note.