Skip to content
This repository has been archived by the owner. It is now read-only.
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
TransloaditUpload.java

README.md

Transloadit Android Example

Some example code for integrating Transloadit into an Android application.

Copy the TransloaditUpload.java class into your project, and use it something like this:

String transloaditParams    = "your params string";
String transloaditSignature = "your signature";

TransloaditUpload transloaditUpload = new TransloaditUpload(context);
transloaditUpload.setParameter("params", transloaditParams);
transloaditUpload.setParameter("signature", transloaditSignature);
transloaditUpload.setImageUri(imageUri);
// This will leave the result of the upload in transloaditInfo.
JSONObject transloaditInfo = transloaditUpload.getResult();
You can’t perform that action at this time.