devfest keynote - android apps with evernote api

34
INTEGRATE YOUR ANDROID APP WITH THE EVERNOTE API sexta-feira, 30 de novembro de 12

Upload: marcos-paulo

Post on 10-May-2015

1.319 views

Category:

Technology


1 download

DESCRIPTION

Keynote presentation

TRANSCRIPT

Page 1: DevFest Keynote - Android Apps with Evernote API

INTEGRATE YOUR ANDROID APPWITH THE EVERNOTE API

sexta-feira, 30 de novembro de 12

Page 2: DevFest Keynote - Android Apps with Evernote API

Backend Developer @MobjoyGames

It’sa Me... MARCO

Marcos Paulo Souza Damasceno

sexta-feira, 30 de novembro de 12

Page 3: DevFest Keynote - Android Apps with Evernote API

What is Evernote?

A single place to keep everything that you have, available from almost any device with a

great search functionality.

Remember everything

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

Page 4: DevFest Keynote - Android Apps with Evernote API

Evernote Beyond Evernote

Evernote for Developers

Add value to the Notes people already have

* 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.

Store your App’s data as notes:

Access Evernote WebServices

Create Notes for your own application

sexta-feira, 30 de novembro de 12

Page 5: DevFest Keynote - Android Apps with Evernote API

The Evernote Cloud API

Composed by a Data Model and its functions

Integrate your Application

Referenced as EDAM - the Evernote Data Acess and Management API

C++, C#, Objetive-C, Java, JavaME, Ruby, Python and etc

Same API used by Evernote’s Apps

Access to API provided by SDK’s

sexta-feira, 30 de novembro de 12

Page 6: DevFest Keynote - Android Apps with Evernote API

Understanding the API

UserStore:Manage user accounts

The basics

NoteStore:The content of a User’s Evernote Account

Process to start working with some user’s notesLogin to EvernoteGet authorization from the user to your AppGet the NoteStore URL for user and Authetincation Token

Do not hardcode NoteStore URL, it may differ by usersexta-feira, 30 de novembro de 12

Page 7: DevFest Keynote - Android Apps with Evernote API

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

Page 8: DevFest Keynote - Android Apps with Evernote API

Understanding the API

But don’t worry about it, the Android SDK handles OAuth for you

Authentication

sexta-feira, 30 de novembro de 12

Page 9: DevFest Keynote - Android Apps with Evernote API

Understanding the API

Data Model

sexta-feira, 30 de novembro de 12

Page 10: DevFest Keynote - Android Apps with Evernote API

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

Page 11: DevFest Keynote - Android Apps with Evernote API

Let’s Get It Started

sexta-feira, 30 de novembro de 12

Page 12: DevFest Keynote - Android Apps with Evernote API

Let’s Get It Started

http://dev.evernote.com/documentation/cloud/

sexta-feira, 30 de novembro de 12

Page 13: DevFest Keynote - Android Apps with Evernote API

Let’s Get It Started

Register for an API key

sexta-feira, 30 de novembro de 12

Page 14: DevFest Keynote - Android Apps with Evernote API

Let’s Get It Started

http://dev.evernote.com/documentation/cloud/

sexta-feira, 30 de novembro de 12

Page 15: DevFest Keynote - Android Apps with Evernote API

https://github.com/evernote

Let’s Get It Started

Download the API Android SDK

sexta-feira, 30 de novembro de 12

Page 16: DevFest Keynote - Android Apps with Evernote API

Let’s Get It Started

http://dev.evernote.com/documentation/cloud/

sexta-feira, 30 de novembro de 12

Page 17: DevFest Keynote - Android Apps with Evernote API

Studying HelloEDAM

Overview

Example application that comes with the SDK

Create an “Android Project from an Existing Code” in Eclipse pointing to

the SDK root folder

sexta-feira, 30 de novembro de 12

Page 18: DevFest Keynote - Android Apps with Evernote API

Studying HelloEDAM

Getting Authentication

sexta-feira, 30 de novembro de 12

Page 19: DevFest Keynote - Android Apps with Evernote API

Studying HelloEDAM

Creating a Resource

sexta-feira, 30 de novembro de 12

Page 20: DevFest Keynote - Android Apps with Evernote API

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

Page 21: DevFest Keynote - Android Apps with Evernote API

Studying HelloEDAM

Creating a Notebook live coding!!!

sexta-feira, 30 de novembro de 12

Page 22: DevFest Keynote - Android Apps with Evernote API

Studying HelloEDAM

Creating a Note With Tag live coding!!!

sexta-feira, 30 de novembro de 12

Page 23: DevFest Keynote - Android Apps with Evernote API

Studying HelloEDAM

Creating a Read-Only Note live coding!!!

sexta-feira, 30 de novembro de 12

Page 24: DevFest Keynote - Android Apps with Evernote API

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

Page 25: DevFest Keynote - Android Apps with Evernote API

Why Use Evernote to store your app’s data?sexta-feira, 30 de novembro de 12

Page 26: DevFest Keynote - Android Apps with Evernote API

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

Page 27: DevFest Keynote - Android Apps with Evernote API

Why Use Evernote to store your app’s data?

HTML (ENML) customization for Notes!

sexta-feira, 30 de novembro de 12

Page 28: DevFest Keynote - Android Apps with Evernote API

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 Appsexta-feira, 30 de novembro de 12

Page 29: DevFest Keynote - Android Apps with Evernote API

Evernote Hackaton Brazilsexta-feira, 30 de novembro de 12

Page 30: DevFest Keynote - Android Apps with Evernote API

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 APIThe 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

Page 31: DevFest Keynote - Android Apps with Evernote API

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

Page 32: DevFest Keynote - Android Apps with Evernote API

Any questions or suggestions about the Evernote Android SDK

Contacts

Tyler SmithSr. Android Engineer @Evernote

@TylerSmithNet

[email protected]

sexta-feira, 30 de novembro de 12

Page 33: DevFest Keynote - Android Apps with Evernote API

The Speaker!

Contacts

Marcos Paulo Damasceno@marcospaulosd

linkedin.com/in/marcosdamasceno

github.com/marcospaulo

slideshare.net/mpsddspm

THANKS!!!!!!sexta-feira, 30 de novembro de 12

Page 34: DevFest Keynote - Android Apps with Evernote API

Questions?

sexta-feira, 30 de novembro de 12