0
ich Hochladen von Dateien auf AWS S3 Server wth diesem Code:Android-Upload Bild AWS- die Größe
private void beginUpload(String filePath) {
if (filePath == null) {
Toast.makeText(this, "Could not find the filepath of the selected file",
Toast.LENGTH_LONG).show();
return;
}
File file = new File(filePath);
TransferObserver observer = transferUtility.upload(AWSConfiguration.BUCKET_NAME, file.getName(),
file);
}
Vor dem Hochladen Ich möchte ein Bild (nicht auf meinem Handy, aber nur auf dem Server), um die Größe weniger Speicher zu belegen. Wie es geht?