Skip to content

Getting started guides and sample code for the Adobe Creative SDK for Android

Notifications You must be signed in to change notification settings

IgorButirsky/android-getting-started-samples

 
 

Repository files navigation

Android: Getting Started Samples

This contains Getting Started sample apps to accompany the Android developer guides on creativesdk.com.

Stay tuned for updates as we build out this library of samples!

Contents

How to use

In your browser

  1. Register a new app for the Creative SDK
  2. Note your API Key (Client ID), Client Secret, and Redirect URI. You will need them soon.

In your local development environment

  1. git clone this repo

  2. Open a component's code directory Android Studio (e.g., send-to-desktop-api/code)

  3. Add a new Java class called Keys with 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"};
    }
    
    1. Add your API Key (Client ID), Client Secret, and Redirect URI to the Keys class
    2. Scope is not currently configurable. Please use the value of CSDK_SCOPES as seen above.
    3. This class is gitignored so you can avoid exposing your keys on GitHub
  4. Sync your Gradle files

  5. Run the app

  6. See the component's guide directory to learn more about the component (e.g., send-to-desktop-api/guide)

More resources for the Creative SDK

Developer portal

Visit our Android developer portal for component guides, class references, and more.

Blog

We have all kinds of Android content on our blog that explores deeper aspects of the Creative SDK. Have a look at our Android category on blog.creativesdk.com.

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.

About

Getting started guides and sample code for the Adobe Creative SDK for Android

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%