- Use Java
- Use Android Studio 2.3.3
- DO NOT add the client id & client secret into repository
- Because the
ClientInfo.java
is ignored from git, keep the client id & client secret inside the file
- Because the
- Clone the code, lets say that you cloned the code into the
~/Documents/projects/kkbox_openapi_example_client
directory - Go to the
~/Documents/projects/kkbox_openapi_example_client
directory - Prepare the client id & client secret
- Go to the
app/src/main/java/com/kkbox/openapi/
directory - Edit the
ClientInfo.java.example
file, input the client id & client secret into the file - Renames the file to
ClientInfo.java
- Go to the
- Now the project is ready
- Open android studio and open the
~/Documents/projects/kkbox_openapi_example_client
directory - Debug the app by executing
Run/Debug 'app'