2. It’sa Me... MARCO
Marcos Paulo Souza Damasceno
Backend Developer @MobjoyGames
sexta-feira, 30 de novembro de 12
3. What is Evernote?
Remember everything
A single place to keep everything that you
have, available from almost any device with a
great search functionality.
Everything you capture is automatically processed, indexed, and made searchable. If
you like, you can add tags or organize your notes into different notebooks.
sexta-feira, 30 de novembro de 12
4. Evernote Beyond Evernote
Evernote for Developers
Access Evernote WebServices
Add value to the Notes people already have
Create Notes for your own application
Store your App’s data as notes:
* HTML Notes (ENML)
* Create Read Only Notes with your information and layout
* Organize your app’s data
* Attach Resources (Audio Clips, Images, PDFs, etc...)
* Search Features.
sexta-feira, 30 de novembro de 12
5. The Evernote Cloud API
Integrate your Application
Same API used by Evernote’s Apps
Composed by a Data Model and its functions
Access to API provided by SDK’s
C++, C#, Objetive-C, Java, JavaME,
Ruby, Python and etc
Referenced as EDAM - the Evernote Data Acess
and Management API
sexta-feira, 30 de novembro de 12
6. Understanding the API
The basics
UserStore:
Manage user accounts
NoteStore:
The content of a User’s Evernote Account
Process to start working with some user’s notes
Login to Evernote
Get authorization from the user to your App
Get the NoteStore URL for user and Authetincation Token
Do not hardcode NoteStore URL, it may differ by user
sexta-feira, 30 de novembro de 12
7. Understanding the API
Authentication
Evernote uses OAuth
API function called using Access Token
Consumer Key and
Consumer Secret required
sexta-feira, 30 de novembro de 12
8. Understanding the API
Authentication
But don’t worry about it, the
Android SDK handles OAuth for you
sexta-feira, 30 de novembro de 12
10. Evernote for Developers
Evernote Sandbox
Safe place for you to test your
application, a separate instance of
the Evernote Service
Create an account at
https://sandbox.evernote.com
Your API Key will only work
in the sandbox environment
sexta-feira, 30 de novembro de 12
11. Let’s Get It Started
sexta-feira, 30 de novembro de 12
12. Let’s Get It Started
http://dev.evernote.com/documentation/cloud/
sexta-feira, 30 de novembro de 12
13. Let’s Get It Started
Register for an API key
sexta-feira, 30 de novembro de 12
14. Let’s Get It Started
http://dev.evernote.com/documentation/cloud/
sexta-feira, 30 de novembro de 12
15. Let’s Get It Started
Download the API Android SDK
https://github.com/evernote
sexta-feira, 30 de novembro de 12
16. Let’s Get It Started
http://dev.evernote.com/documentation/cloud/
sexta-feira, 30 de novembro de 12
17. Studying HelloEDAM
Overview
Example application that comes Create an “Android Project from an
with the SDK Existing Code” in Eclipse pointing to
the SDK root folder
sexta-feira, 30 de novembro de 12
18. Studying HelloEDAM
Getting Authentication
sexta-feira, 30 de novembro de 12
19. Studying HelloEDAM
Creating a Resource
sexta-feira, 30 de novembro de 12
20. Studying HelloEDAM
Creating a new Note
ENL, more about it at
http://dev.evernote.com/documentation
/cloud/chapters/ENML.php
sexta-feira, 30 de novembro de 12
21. Studying HelloEDAM
Creating a Notebook live coding!!!
sexta-feira, 30 de novembro de 12
22. Studying HelloEDAM
Creating a Note With Tag live coding!!!
sexta-feira, 30 de novembro de 12
23. Studying HelloEDAM
Creating a Read-Only Note live coding!!!
sexta-feira, 30 de novembro de 12
24. The Reference API
The reference for the API data,
functions and everything
http://dev.evernote.com/documentation/reference/
sexta-feira, 30 de novembro de 12
25. Why Use Evernote to store your app’s data?
sexta-feira, 30 de novembro de 12
26. Why Use Evernote to store your app’s data?
Because your app’s data will be everywhere,
well organized and with a pretty interface
Because you will give data
mobility to your users
sexta-feira, 30 de novembro de 12
27. Why Use Evernote to store your app’s data?
HTML (ENML) customization for Notes!
sexta-feira, 30 de novembro de 12
28. Why Use Evernote to store your app’s data?
The Evernote Trunk
Apps made using Evernote platform are added to the Evernote Trunk
Available through the Web, the MacOS App and the Windows App
sexta-feira, 30 de novembro de 12
30. Evernote Hackaton Brazil 2012
The last one took place in São Paulo,
November 9th to 11th
The goal was develop an Android App using Evernote API
The main prize was a travel to Silicon Valley
for 2 people of the winner group to visit the
Evernote HQ
sexta-feira, 30 de novembro de 12
31. Evernote Hackaton Brazil 2012
The last one took place in São Paulo,
November 9th to 11th
We were there, we didn’t win but we’ve learnt a lot.
Don’t let the next opportunity pass by.
sexta-feira, 30 de novembro de 12
32. Contacts
Any questions or suggestions
about the Evernote Android SDK
Tyler Smith
Sr. Android Engineer @Evernote
@TylerSmithNet
tsmith@evernote.com
sexta-feira, 30 de novembro de 12
33. Contacts
The Speaker!
Marcos Paulo Damasceno
@marcospaulosd
linkedin.com/in/marcosdamasceno
github.com/marcospaulo
slideshare.net/mpsddspm
THANKS!!!!!!
sexta-feira, 30 de novembro de 12