Created
January 8, 2014 22:10
-
-
Save mosil/8325393 to your computer and use it in GitHub Desktop.
Evernote SDK for Android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package biz.mosil.sample.evernote.workshop; | |
import com.evernote.client.android.EvernoteSession; | |
import android.app.Activity; | |
import android.os.Bundle; | |
public class ParentActivity extends Activity { | |
private static final String CONSUMER_KEY = "your consumer key"; | |
private static final String CONSUMER_SECRET = "your consumer secret"; | |
private static final EvernoteSession.EvernoteService EVERNOTE_SERVICE = EvernoteSession.EvernoteService.SANDBOX; | |
protected EvernoteSession mEvernoteSession; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
mEvernoteSession = EvernoteSession.getInstance(this, CONSUMER_KEY, CONSUMER_SECRET, EVERNOTE_SERVICE); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment