I was able to create a new note from my Android App and have it successfully uploaded to Evernote by calling
intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM , uriList);
where uriList is the list of image uri's (from Gallery) and intent is the Evernote Android app Intent.
However, this stopped working few days ago and now if the new note has image attached, the note does not get created.
Is this a known bug?
1 reply to this topic
#1
Posted 16 June 2012 - 02:01 AM
#2
Posted 17 June 2012 - 03:38 PM
In the SDK I'm using you have to manually attach the image, i.e. turn it into a char * and compute a hash.
But assuming you are attatching it correctly... add the following code to your ENML to display the image:
"<en-media type=\""+mime_type_string+"\" hash=\""+std::string(hashMd5.toHex().data())+"\"/>";
Where hashMD5 is your images MD5 hash. mime_type_string is something like "image/png"
For more information look here: http://dev.evernote....notes.php#image
But assuming you are attatching it correctly... add the following code to your ENML to display the image:
"<en-media type=\""+mime_type_string+"\" hash=\""+std::string(hashMd5.toHex().data())+"\"/>";
Where hashMD5 is your images MD5 hash. mime_type_string is something like "image/png"
For more information look here: http://dev.evernote....notes.php#image
Also tagged with one or more of these keywords: help, bug
General Discussions →
Evernote General Discussion →
Evernote Localization →
HELP ME ASAPStarted by MSAndrews, Today, 01:34 AM |
|
|
||
Windows
Evernote Products →
Evernote →
Evernote 4.6.5.8353 still crashes when moving notesStarted by EdH, 17 May 2013 |
|
|
||
Mac
Evernote Products →
Evernote →
need help downgrading from 5 to 3. it's ugly...Started by Paul.Evernote, 14 May 2013 |
|
|
||
Windows
Evernote Products →
Evernote →
Sync icon should show error if notes aren't sync'd after a syncStarted by EdH, 09 May 2013 |
|
|
||
General Discussions →
Evernote General Discussion →
HELP NEEDED: Restore Previous Notebook Assignments of NotesStarted by mrh75, 05 May 2013 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












