Skip to content

Instantly share code, notes, and snippets.

@evernotegists
Last active December 15, 2015 18:39
Show Gist options
  • Save evernotegists/5305383 to your computer and use it in GitHub Desktop.
Save evernotegists/5305383 to your computer and use it in GitHub Desktop.
try {
mEvernoteSession.getClientFactory().createUserStoreClient().getUser(
new OnClientCallback<User>() {
@Override
public void onSuccess(User user){
Log.v(LOGTAG, "User: "+user.getUsername());
}
@Override
public void onException(Exception exception) {
Log.e(LOGTAG, exception.toString());
}
}
);
} catch (Exception e) {
Log.v(LOGTAG, e.toString());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment