You are right. Whether you use GCM to send the payload depends on how much data there is to be sent and whether the client actually needs the data or not. This would be a design decision for your application. The demo app in the video sends the ID of the Note object - instead it could have sent just a ping saying that "some data has changed", and the client could have performed an incremental sync based on the previous sync time - this would guarantee that the client is in a consistent state.
@sriramsaroop21612 жыл бұрын
The first half of the preso was about using Google APIs - tips on using proguard to reduce app size, how to do do auth etc. "Web APIs" is used in a general sense to refer to Google APIs and Cloud Endpoints. Hope that helps and apologies for the confusion.
@TheVettukal12 жыл бұрын
Does anybody know how can I get the Demo Code of this session or Building Mobile AppEngine backends? Only demo codes for the Brad Adams session is there..
@TomsDone12 жыл бұрын
Maybe I'm not understanding something, but the GCM website says "This could be a lightweight message telling the Android application that there is new data to be fetched from the server (for instance, a movie uploaded by a friend), or it could be a message containing up to 4kb of payload data (so apps like instant messaging can consume the message directly). "
@TomsDone12 жыл бұрын
Doesn't seem realistic to use GCM to communicate with the app in the way mentioned in this session - the GCM provides no guarantee for delivery time or sequence.
@sriramsaroop21612 жыл бұрын
GCM is not meant to transfer the actual data - you will need to make an API call to fetch the updated data. GCM essentially sends a ping to the devices to say that the data has changed.
@sriramsaroop21612 жыл бұрын
We have an issue with "Generate App Engine Backend" on the Windows environment - we are working on this and should release a fix for it soon.
@lordv8812 жыл бұрын
Does anyone know where I can get the source code please?
@GabrielMolter12 жыл бұрын
Great Presentation!
@TheVettukal12 жыл бұрын
Try Eclipse 3.7 I had the same problem with 4.2
@GramKnight12 жыл бұрын
hmm strange that the apps genies are using apple ??? wierd
@MrZerofate12 жыл бұрын
I'm disappointed by this session. I expected tips and tricks for communicating with web api's as suggested in the title. Instead its an introduction to google cloud end points. Really disappointed, please change the title from "Web api's" to "google cloud end points".