android-getting-started-samples
android-getting-started-samples copied to clipboard
Getting started guides and sample code for the Adobe Creative SDK for Android
Android: Getting Started Samples
This contains Getting Started sample apps to accompany the Android developer guides on Adobe I/O.
Contents
- How to use
- More resources for the Creative SDK
- Contributing to this repo
- Get help
How to use
In your browser
- Register a new app for the Creative SDK
- Note your API Key (Client ID), Client Secret, and Redirect URI. You will need them soon.
In your local development environment
-
git clonethis repo -
Open a component's
codedirectory Android Studio (e.g.,send-to-desktop-api/code) -
Add a new Java class called
Keyswith this code:public class Keys { public static final String CSDK_CLIENT_ID = "<YOUR_ID_HERE>"; public static final String CSDK_CLIENT_SECRET = "<YOUR_SECRET_HERE>"; public static final String CSDK_REDIRECT_URI = "<YOUR_REDIRECT_URI_HERE>"; public static final String[] CSDK_SCOPES = {"email", "profile", "address"}; }- Add your API Key (Client ID), Client Secret, and Redirect URI to the
Keysclass - Scope is not currently configurable. Please use the value of
CSDK_SCOPESas seen above. - This class is gitignored so you can avoid exposing your keys on GitHub
- Add your API Key (Client ID), Client Secret, and Redirect URI to the
-
Sync your Gradle files
-
Run the app
-
See the component guides on Adobe I/O to learn more about the components
More resources for the Creative SDK
Developer portal
Visit Adobe I/O for component guides, class references, and more.
Contributing to this repo
Pull requests and GitHub issues are welcome!
If you want to do a pull request, please get in touch with us before you start writing code, so we can avoid duplicated effort or unnecessary work.
Get help
Our growing community on Stackoverflow is a great way to get help. Just post your question and tag it with adobecreativesdk.
If you have feedback on this repo, submit a GitHub issue.