Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upload image to Google Cloud Storage (Java)

I want to develop a java-application (for pc) which can upload any picture to Google Cloud Storage. Although I have spent my whole evening on searching for a solution, I don't have any clue how to start. Does anyone of you have experience with uploading images to Google Cloud Storage? Are there better alternatives to Google Cloud Storage?

like image 488
Alexander Jeitler-Stehr Avatar asked Jan 30 '26 02:01

Alexander Jeitler-Stehr


1 Answers

There's a lovely Java API for using Google Cloud, including Storage: http://googlecloudplatform.github.io/google-cloud-java/0.10.0/index.html

Here's an example desktop application that uses this library to upload and download files: https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/google-cloud-examples/src/main/java/com/google/cloud/examples/storage/StorageExample.java

Google Cloud Storage has quite a bit of documentation, guides, and tutorials. Here's the root of it all: https://cloud.google.com/storage/docs/

like image 58
Brandon Yarbrough Avatar answered Jan 31 '26 21:01

Brandon Yarbrough