The new SDK release addresses many of the Android dependencies that have been deprecated, enables support for new-build systems, and enables developers to more easily fetch and show notes from within their apps, including greater accessibility for connecting to the notebooks of Evernote’s business users.
“When we relaunched the Evernote Android SDK back in 2012, it was our first step into having a viable SDK option for what was clearly a massive new user growth opportunity on the Android platform,” explains Chris Traganos, head of developer relations for the productivity app, who worked with Evernote’s senior Android engineer, Ralf Wondratschek. Wondratschek handled the entire SDK code rebuild. “For us, getting more top apps that offer ‘Save to Evernote’ or ‘Attach note from Evernote’ gave us more ways to make our app a daily essential tool for our user base, for which a majority means Android on mobile. Also, the old version was great at providing a downloadable SDK for interacting with Evernote via the network or Android intents.”
Traganos says that more than six months was spent collating user feedback and “poring through the GitHub issue requests, Stack Overflow and on our forums to tackle what needed enhancements.” Wondratschek and Traganos reviewed developer wish lists and suggestions, and then tracked and reviewed the top apps in the Evernote App Center to see how enhancements could help those apps improve their Android/Evernote integrations.
"This SDK revamp allows us to help our app partners and get Evernote integrated into more great tools and products in ways we were unable to before," Traganos explains. "There will be plenty more features coming to the Evernote Platform, and SDKs like this will make it happen."
The new version of the SDK includes the following features:
- Android Studio, the recommended IDE for Android applications, is supported.
- Newer Android APIs have been inserted to replace deprecated approaches.
- Android users who are logged in to Evernote no longer need to be redirected to an OAuth Web view when allowing third-party access to their Android intents (that is, to integrate functions like saving notes, etc., from other third-party Android apps).
- Support for Evernote Business users and their shared notebooks has been improved.
- Easier methods to fetch and save notes, including being able to open them in webview, are available.
- Easier methods to utilize Evernote Android intents, which enable developers to create, view and look at notes without making Evernote API calls over a network, are available.
In addition, the SDK allows developers to use developer tokens to quickly try out the Evernote API on their own accounts during the app development phase, thus avoiding the need to prepare OAuth for nonproduction and nonpublic application testing.
To help developers more easily understand the functionality being made available in the SDK, Evernote’s new SDK documentation includes a sample app with new features and options showcased to make coding easier for those wanting to incorporate the new functionalities.
Traganos says the launch of the SDK makes developer relations easier, as developers can see that Evernote is “fully invested in creating a great experience for users and app developers on Android.”
App developers are not required to move to the new SDK — Evernote has a strong policy of backward compatibility to ensure that devs can stay with prior versions until they are ready to take advantage of the new features in the SDK.
Developers can download the Evernote for Android SDK from GitHub.