I use encoding in the fileName to say what to do.

Upload directly to GCS, Let GCS Notify
<https://cloud.google.com/storage/docs/object-change-notification> your AE
instance, that will then process and send a notification to the users you
want to have the image.


On Fri, Jan 30, 2015 at 2:24 AM, Gannicus <[email protected]> wrote:

> Hi Les, thank you for helping me again!
> In my case I believe (but I may be wrong) option #1 is better because I
> want the clients to send photos to each other (quite frequently) , not just
> upload them. Am I right?
>
> Can I also ask you if the Blobstore could be better than Cloud Storage in
> my case?
>
> Thanks again.
>
> Le vendredi 30 janvier 2015 01:01:56 UTC+1, Les Vogel a écrit :
>>
>> There are many ways to do this.  You don't necessarily need endpoints to
>> do it.
>>
>> 1. Use your AppEngine instance as an intermediary.
>> 2. Write directly from your Android App to Google Cloud Storage.
>>
>> I prefer option #2, the Abelana
>> <https://github.com/GoogleCloudPlatform/abelana-android> Android app
>> does this see AbelanaUpload
>> <https://github.com/GoogleCloudPlatform/Abelana-Android/blob/master/app/src/main/java/com/google/samples/apps/abelana/AbelanaUpload.java>.
>>
>>
>> On Thu, Jan 29, 2015 at 3:43 PM, Gannicus <[email protected]> wrote:
>>
>>>
>>> I have an Android app working with GAE and google cloud endpoints. I
>>> would like to upload photo from the app using google cloud storage.
>>> However, it seems like it is difficult or impossible to do so. (
>>> http://stackoverflow.com/questions/27909836/upload-a-
>>> photo-with-google-cloud-endpoints)
>>>
>>> It appears that the use of servlets is required. Is it true? Do you know
>>> some way to upload photos using Cloud Endpoints?
>>>
>>> Thank you.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/google-appengine.
>>> To view this discussion on the web visit https://groups.google.com/d/
>>> msgid/google-appengine/5c1cad6c-2fcc-499e-b90d-
>>> 78c9520c67c4%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-appengine/5c1cad6c-2fcc-499e-b90d-78c9520c67c4%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Les Vogel | Cloud Developer Relations | [email protected] | 408-676-7023
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/9abc0cdb-702d-469d-898d-0ad6ff5cc04f%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/9abc0cdb-702d-469d-898d-0ad6ff5cc04f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Les Vogel | Cloud Developer Relations | [email protected] | 408-676-7023

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAGB1p5hkGzw--0Q-3pL3Xy5A2mDzmdf6DVF7Tr5QnGZcDn_c%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to