Evernote / evernote-sdk-android

Evernote SDK for Android
428 stars 168 forks source link

Solved the issue in recreation of EvernoteSession by providing getters for EvernoteSession class members #5

Closed hemantg05 closed 12 years ago

hemantg05 commented 12 years ago

Added Getters and Setters for EvernoteSession class members to enable recreation of session in Android Client applications. Earlier there was no way to get the NoteStoreUrl and WebApiUrlPrefix (i.e. AuthenticationResult object") so that EvernoteSession can be recreated without having to reauthenticate using OAuth.

With these getters, developers will be able to recreate the session very easily by storing the AuthenticationResult object contents in a persistence storage.

sethhitch commented 12 years ago

Resolved in commit 2b02e0e0aff74b685a5bed9b8e10db06c037d002. Added a getter for the overall AuthenticationResult and implemented persistence of the AuthenticationResult values within EvernoteSession.