Android (Kotlin and Java) integration handles uploads and file operations by wrapping Uploadcare Upload API and REST API. This comprehensive API client lets you use most of the Uploadcare features from within your Android app. It also includes a native uploading widget.
Concise and easy-to-use library without extra resources and drawables.
Uploading (Upload API):
File uploading widget:
File management (REST API):
Image processing (URL API):
Security:
The latest stable versions are available at Maven Central.
To include API client and the uploading widget in your Android project, add this line to the ‘gradle.build’ file:
REST API requires both public and secret keys. If you use Upload API only, you can specify just “YOUR_PUBLIC_KEY”. Get your Public and Secret API keys.
Kotlin
Java
For uploading widget, place your Uploadcare public/private keys into ../res/strings.xml file:
You can use both synchronous and asynchronous operations.
Kotlin
Java
Kotlin
Java
Find out more examples in the API client documentation for Android at GitHub.
You can use both synchronous and asynchronous operations.
Kotlin
Java
Kotlin
Java
Find out more examples in the API client documentation for Android at GitHub.
You can select and upload file from any available local file, camera, external source, Activity/Fragment.
Kotlin
Java
Find out more examples in the uploading widget documentation for Android at GitHub.