This repository was archived by the owner on Jul 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Android: Getting Started
2
+
3
+ This repo accompanies [ the Creative SDK User Auth UI guide for Android] ( https://creativesdk.adobe.com/docs/android/#/articles/userauth/index.html ) .
4
+
5
+
6
+ ## How to use
7
+
8
+ Just follow the steps below.
9
+
10
+ ### In your browser
11
+
12
+ 1 . [ Register a new app for the Creative SDK] ( https://creativesdk.adobe.com/myapps.html )
13
+ 1 . Note your Client ID and Secret. You will need them soon.
14
+
15
+ ### In your local development environment
16
+
17
+ 1 . ` git clone ` [ the parent repo] ( https://github.com/CreativeSDK/android-getting-started-samples )
18
+ 1 . Open the repo's ` user-auth-ui ` subdirectory in Android Studio
19
+ 1 . Add a new Java class called ` Keys ` with this code:
20
+
21
+ ```
22
+ public class Keys {
23
+
24
+ public static final String CSDK_CLIENT_ID = "<YOUR_ID_HERE>";
25
+ public static final String CSDK_CLIENT_SECRET = "<YOUR_SECRET_HERE>";
26
+
27
+ }
28
+ ```
29
+
30
+ 1. Add your Client ID and Secret to the `Keys` class
31
+ 1. This class is gitignored so you can avoid exposing your keys in GitHub
32
+ 1 . Sync your Gradle files
33
+ 1 . Run the app
You can’t perform that action at this time.
0 commit comments