- Use Java
- Use Android Studio 2.3.3
- DO NOT add the client id & client secret into repository
- Because the
ClientInfo.javais 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_clientdirectory - Go to the
~/Documents/projects/kkbox_openapi_example_clientdirectory - Prepare the client id & client secret
- Go to the
app/src/main/java/com/kkbox/openapi/directory - Edit the
ClientInfo.java.examplefile, 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_clientdirectory - Debug the app by executing
Run/Debug 'app'