Example Programs
OBS Android SDK provides abundant example programs for user reference and direct use. These programs can be obtained from the OBS Android SDK development package. For example, files in eSDK_Storage_OBS_<versionId>_Android/samples_android obtained by decompressing eSDK_Storage_OBS_<versionId>_Android.zip are example programs. Alternatively, you can click code package names provided in the following table to obtain corresponding example programs.
Example programs include:
Sample Code |
Description |
---|---|
How to use bucket-related APIs. |
|
How to use object-related APIs. |
|
How to download an object. |
|
How to create a folder. |
|
How to delete objects in a batch. |
|
How to list objects. |
|
How to list versioning objects. |
|
How to list objects in a folder. |
|
How to customize object metadata. |
|
How to perform a multipart upload. |
|
How to concurrently copy parts of a large object. |
|
How to concurrently download parts of a large object. |
|
How to concurrently upload parts of a large object. |
|
How to download Archive objects. |
|
How to perform a browser-based upload. |
|
How to use URLs for authorized access. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot