Showing posts with label googlegears. Show all posts
Showing posts with label googlegears. Show all posts

Tuesday, 16 September 2008

Google Developer Day 2008: Gears for mobile and the New Geolocation API -- Charles Wiles

  • google maps for mobile took a long time to deliver on different platforms
    • 10+ platforms, 100s of builds
    • mobile updates every 6 months, cf. desktop every few weeks
  • gears apps can be designed with UI talking only to local database
  • background threads then bring in data as it becomes available
  • how does Gears compare with HTML5?
    • short term — gears
    • Opera Mobile (WinMo) & Android Q4 2008
    • Expect S60 & BlackBerry in the future
    • long term — HTML5…
  • geolocation to within 1km with wifi — enough for a lot of apps
    • two ways to call: one shot + event-based
    • typically takes about 5secs to get a fix

Demos

  • Google Search with My Location — Andrei Popescu
    • plugs location and postcode into a mobile version of google local search
  • fonefood — Marko Balabanovic
    • towards the beginning of the year looked at operator location
    • doesn’t work outside of home network
    • have to get multiple agreements to work around Europe
    • also looked at open source cell tower databases
    • patchy data
    • need to write a native app to get cell ID
    • now uses Gears Cell ID, works well for restaurant finding
    • shows Google static map with restaurant markers
  • rummble — Clive Cox, CTO
    • can choose when to ask for permissions (call getPermission())
    • windows mobile:
    • always call db.close() before a page refresh
    • similarly, lastposition is only useful on a single page
    • google provide a whitelist/blacklist of user agents that support gears
  • ITN Offline News — Ave Wrigley, Head of Technology Strategy & Innovation
    • ITN ON is the new media department of ITN
    • also have their own production team: showbiz, lifestyle, etc
    • generally produce content for other people, but are starting to go direct to consumer
    • use case: “flaky mode” — travelling to work with patchy coverage
    • watching videos as well as browsing news
    • also using geolocation for local news & weather
    • configuration interface — choose categories to browse offline
    • settings are on every page of the site
    • also forces that updates are grabbed wherever you are on the site
    • can find out through gears if the device is offline or online
    • don’t have to use XMLHttpRequest
    • not part of public API…
    • site grays out subscription options when offline
    • site warns you how many MB of video you are downloading
    • gears managed store is a bit of a black box — can’t tell how much you’ve downloaded
    • had to implement their own back-end AJAX call to find this out from the server side!
    • 80% of development time has been on platform — Pocket IE is effectively IE4…
    • they had to write specific libraries to cope with the crap browser
    • debugging is very difficult
    • code is in the managed store
    • need to make sure that you’re using the right version
    • developed techniques to get around that — ask offline

Q&A

  • when Series 60 or BlackBerry?
    • sometime soon…
  • will Google develop a gears translation layer for HTML5 browsers?
    • probably not — HTML5 is the standard, not gears
  • will gears integrate with GWT?
    • probably soon

Google Developer Day 2008: Keynote -- Tom Stocky

  • The browser is the platform, but it’s not powerful enough…
  • Google was born on the web — it was a platform born of consensus
  • Chrome aims to make the browser more resilient
    • one app is independent from the other
    • can automatically create app shortcuts like Fluid
  • Gears for Mobile being developed by Charles Wiles in London

  • app engine examples:

Android — Mike Jennings

Supposedly the first live demo of a real Android device in the UK.

The big demo of accelerometer-enabled street view doesn’t work in the UK as there’s no data, and the rest of the demo looked a little flat. The UI was even a bit sluggish at times.

GWT — Sumit Chandel

  • write really sophisticated web apps in the browser
  • how do you handle GWT debugging? debug into Java code using “hosted mode browser”
    • runs your java code as bytecode, rather than generated javascript
    • can see stringified DOM contents of any widgets that you use
  • demo: lombardi blueprint
  • recently released GWT v1.5
    • java 5 language features
    • can use annotations to help optimisations
    • performance enhancements
  • browser support (mid 2008):
    • Firefox 1.0, 1.5, 2.0 and 3.0
    • Internet Explorer 6 and 7
    • Safari 2 and 3
    • Opera 9.0

OpenSocial

  • added Hive & Netlogs support
  • Apache Shinding is an open source reference implementation of an OpenSocial container