You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ReadMe.md
+5-7Lines changed: 5 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -31,11 +31,11 @@ You can also download the Java SDK JAR and and its required dependencies directl
31
31
32
32
##Dropbox for Java tutorial
33
33
34
-
A good way to start using the Java SDK is to follow this quick tutorial. Just make sure you have the the Java SDK[installed](/developers/documentation/java#install) first!
34
+
A good way to start using the Java SDK is to follow this quick tutorial. Just make sure you have the the Java SDK[installed](#setup) first!
35
35
36
36
###Register a Dropbox API app
37
37
38
-
To use the Dropbox API, you'll need to register a new app in the[App Console](/developers/apps). Select Dropbox API app and choose your app's permission. You'll need to use the app key created with this app to access API v2.
38
+
To use the Dropbox API, you'll need to register a new app in the[App Console](https://www.dropbox.com/developers/apps). Select Dropbox API app and choose your app's permission. You'll need to use the app key created with this app to access API v2.
39
39
40
40
###Link an account
41
41
@@ -166,6 +166,8 @@ Save your Dropbox API key to a JSON file called, say, "test.app":
166
166
}
167
167
```
168
168
169
+
App key and secret can be found in you app page in[App Console](https://www.dropbox.com/developers/apps).
170
+
169
171
###Building from source
170
172
171
173
```
@@ -180,7 +182,7 @@ The output will be in "build/".
180
182
###Running the examples
181
183
182
184
1. Follow the instructions in the "Build from source" section above.
183
-
2. Save your Dropbox API key in a file called "test.app". See:[Get a Dropbox API key](#get-a-dropbox-api-key), above.
185
+
2. Save your Dropbox API key in a file called "test.app". See:[Save your Dropbox API key](#save-your-dropbox-api-key), above.
184
186
3. Compile and install the SDK into your local maven repo:`./gradlew install`
185
187
4. To compile all the examples:`(cd examples/ && ./gradlew classes`
186
188
5. To compile just one example:`(cd examples/ && ./gradlew :<example-name>:classes`
@@ -218,10 +220,6 @@ cd examples
218
220
219
221
(You must first generate "test.auth" using the "authorize" example above.)
220
222
221
-
####tutorial
222
-
223
-
The example from our[online tutorial](https://www.dropbox.com/developers/documentation/java#tutorial). Unlike the other examples, this example is not meant to be run without modification.
224
-
225
223
####upload-file
226
224
227
225
Uploads a file to Dropbox. The example includes regular and chunked file uploads.