This document describes how to upload files using the OSS Android SDK.
In OSS, the basic data unit for an operation is a file (Object). The OSS Android SDK provides the following three methods to upload files:
Simple upload (Android SDK): This method supports uploading local files and binary byte[] arrays. The maximum file size is 5 GB.
Append upload (Android SDK): The maximum file size is 5 GB.
Resumable upload (Android SDK): This method supports concurrent uploads, resumable uploads, and custom shard sizes. Resumable upload is recommended for large files. The maximum file size is 48.8 TB.
During the upload, you can view the progress using a progress bar (Android SDK). After the upload is complete, you can also use an upload callback (Android SDK).