Showing posts with label gears. Show all posts
Showing posts with label gears. Show all posts

Sunday, 23 November 2008

Future of Mobile 08: Android and Gears for Mobile

Rich Miner — Google

Rich used to work for Orange before he co-founded Android.

Tom Hume also has good notes for Rich's talk.

  • We have hit a tipping point with openness being a major catalyst
  • Mobile phone operators tend to behave somewhat like lemmings…
    • (re: unlimited data plans)
    • Have probably been pushed a little faster & harder than they would have liked it (iPhone)
  • Rich spoke about history of working at Orange, trying to launch SPV
    • Difficulties sorting out bugs — HTC didn’t have access to code, Microsoft said it would take months to fix…
    • App discovery was non-existent
  • Fragmentation:
    • Compared number of mobile phones to number of cars, PCs, landline telephones…
    • Unsurprisingly, there are more mobile phones by several orders of magnitude
    • Even for Google, it was crazy to get apps signed on lots of operator networks
    • Google Maps for Mobile should be able to launch directly from your address book, but this is not possible in J2ME
    • It’s possible to access your address book, but only on a subset of phones that support the relevant API, and even then you have to implement your own search
  • Showed slides from Android (the company) when being bought by Google:
    • Hardware costs going down but software costs staying the same
    • Existing Smartphone OSs aimed at enterprise & high-end, Android aimed slightly lower
  • Android architecture — all available as open source: source.android.com
    • Linux kernel for hardware drivers
    • Libraries on top — SQLite, WebKit, OpenGL…
    • Android Runtime on top and to the side
    • allows access to all the data and services on the phone
    • App framework on top of both
    • Then actual provided apps on top of that
  • Android marketplace is totally under control of developers
    • No human intervention between developer publishing and appearing on the marketplace

Mauricio Reyes recorded the Q&A if you want to see the video.

Q: What about the UI?

  • Need to focus on consumer focussed user interface
  • He didn’t quite answer the question, other than say it’s an important issue…

Q: What are plans to generate as much hype as iPhone?

  • Not looking to replace iPhone — iPhone is already a good Google experience
  • This is a 1.0 device from HTC and T-Mobile
  • There are lots of others in the pipelines — there will be lots more arriving soon

Q: Once there are lots of different handsets, how will apps run on all handsets?

  • cf. JavaME from Sun — there was no reference implementation, so each JVM behaves differently
  • Instead Android has a single reference implementation so each device will have the same underlying software stack and apps will make the same calls
  • Are working on a conformance test — for OEMs to run and carriers to use before accepting a test
  • Google are also going to pick reference apps that challenge the platform (in a good way) and will highlight those as app tests

Q: WebKit and Gears

  • At the moment, Gears is tied to browser app, not WebKit core
  • This was a mistake and will be changed
  • Will therefore be able to have a WebKit component in your app and still access Gears stuff

Q: Widgets for home screen not in current SDK

  • Home screen is just an app
  • Just ran out of time in development — have had lots of requests to add them
  • Haven’t made a roadmap yet
  • Since it’s just an app — can replace with something else — and some OEMs may do so

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