Google I/O 2012 - Building Android Applications that Use Web APIs with Yaniv Inbar and Sriram Saroop

Поділитися
Вставка
  • Опубліковано 5 лис 2024

КОМЕНТАРІ • 14

  • @sriramsaroop216
    @sriramsaroop216 12 років тому +1

    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.

  • @sriramsaroop216
    @sriramsaroop216 12 років тому

    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.

  • @sriramsaroop216
    @sriramsaroop216 12 років тому

    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.

  • @TomsDone
    @TomsDone 12 років тому

    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). "

  • @TomsDone
    @TomsDone 12 років тому

    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.

  • @sriramsaroop216
    @sriramsaroop216 12 років тому

    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.

  • @TheVettukal
    @TheVettukal 12 років тому

    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..

  • @GabrielMolter
    @GabrielMolter 12 років тому

    Great Presentation!

  • @TheVettukal
    @TheVettukal 12 років тому

    Try Eclipse 3.7 I had the same problem with 4.2

  • @lordv88
    @lordv88 12 років тому

    Does anyone know where I can get the source code please?

  • @GramKnight
    @GramKnight 12 років тому

    hmm strange that the apps genies are using apple ??? wierd

  • @TheVettukal
    @TheVettukal 12 років тому

    just use eclipse 3.7

  • @MrZerofate
    @MrZerofate 12 років тому

    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".

  • @TheVettukal
    @TheVettukal 12 років тому

    It is fixed!