Hello guys, so currently, we are building a mobile social network application where users will be able to upload and view Pictures and Musics files. we have 2 scenarios in order to implement the GAE with our android application and backend control panel. - First scenario is to implement the GAE PHP with our application backend and let the backend handle all the APIS requests from the mobile side and handle them with the GAE but for in case i need to upload a certain image to the GAE I will need to encode the image to base64 and decode it on the server and then upload it into the GAE and then wait until the upload process finishes and return the Reference to the backend then update the status on the mobile side as you can notice this scenario will cost me a lot of time and the quality of the image will be dropped due to encoding and decoding .
<https://lh3.googleusercontent.com/-1Ev-7b6-vgs/VWnHNx2n4pI/AAAAAAAByp0/JpWMjnknl04/s1600/Untitled%2BDiagram.jpg> - Second scenario is to implement the GAE Directly to the android side and let it upload files(Jpg,mp3) directly to the GAE (No need for Base64) and then send the references from GAE to the mobile side in order to be sent to Backend to be saved in the database . <https://lh3.googleusercontent.com/-3bpN3rNppW4/VWnIiUbg3KI/AAAAAAAByp8/1x-9P1KHEF0/s1600/Untitled%2BDiagram2.jpg> I'm not sure if the GAE works with android to achieve the second scenario as it will be best solution which will decrease time and will bypass decoding and encoding Process. so what do you guys think about the above solutions and what is the best optimized and efficient solution in your opinion? thanks , -- 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/217092b4-d2f8-4d6a-8ab9-cec88898d053%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
