View Code? Open in Web Editor
NEW
An Open API example client for android.
kkbox_openapi_example_client's Introduction
- 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
- 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
- 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'
kkbox_openapi_example_client's People
Contributors
Stargazers
Watchers