Ensure that you are familiar with OBS basic concepts from Help Center, such as bucket, object, region, and AK/SK.
This chapter introduces how to set up an environment for secondary development and to perform common operations, including creating a bucket, uploading an object, and downloading an object.
- You can see General Examples for the OBS Server to understand how to call OBS Android SDK APIs in a general manner.
- After an API call is complete using an instance of ObsClient, view whether an exception is thrown. If no, the return value is valid. If yes, the operation fails and you need to obtain the error information from the instance of ObsException.
- After an API is successfully called by an instance of ObsClient, an instance of HeaderResponse (or of its sub-class) containing the response headers will be returned.