Code Monkey home page Code Monkey logo

android-getting-started-samples's Introduction

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.

android-getting-started-samples's People

Contributors

ashryanbeats avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.