belaidHUB / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Simple upload of a photo into a Cloud Storage public access bucket. #892

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which Google API and version (e.g. Google Calendar API version 3)?
Cloud Storage API v1 (revision 3)

Java environment (e.g. Java 6, Android 2.3, App Engine)?
Android Honeycomb & up?

External references, such as API reference guide?
https://developers.google.com/resources/api-libraries/documentation/storage/v1/j
ava/latest/overview-summary.html

Please provide any additional information below.
Rely on app credential without requiring user credential. Bucket ACL is defined 
for public read_write.

Original issue reported on code.google.com by DustyRe...@gmail.com on 9 Jul 2014 at 6:48

GoogleCodeExporter commented 9 years ago
I would like to see a java example targeted for use in Android Studio ide.

Original comment by DustyRe...@gmail.com on 9 Jul 2014 at 6:51

GoogleCodeExporter commented 9 years ago
There's a sample on the Cloud Storage site [1] which demonstrates basic 
interactions with the API. There are many other references that'll help you get 
started, but you can post your request on that site if you really need a sample 
for upload.

Unfortunately we are not adding API specific samples on this site any more.

[1] https://cloud.google.com/storage/docs/json_api/v1/json-api-java-samples

Original comment by wonder...@google.com on 29 Dec 2014 at 10:39