+Mike West (mkw.st/+), @mikewest

What's new, Android?

I work for Chrome in Munich.
I'd like to talk a little about Android, a little about the web, and a lot about how we're bringing them closer together with Chrome.

~300 million devices

850,000 device
activations daily

Google Play offers
450,000 apps

1 billion monthly downloads

According to StatCounter, mobile internet usage is up to about 8.6% of _total_ internet usage. That's up from about 2% in 2010.
Mobile is the future. Our goal is to be a shining example to pull the web forward, so Chrome has to be on mobile devices.
Chrome for Android is not Chrome Light. It brings a powerful, well-tested multiprocess architecture to Android.
Chrome brings serious HTML5 chops.
HTML5Rocks has all the details on the APIs I'm going to mention going forward.

Visuals

Performance

Device APIs

Offline Support

Appcache


CACHE MANIFEST
index.html
stylesheet.css
images/logo.png
scripts/main.js
        

localStorage


window.localStorage['key'] = 'string value';
        

WebSQL


var db = openDatabase('todo', '1.0', 5 * 1024 * 1024);
db.transaction(function(tx){
  tx.executeSql(
      "INSERT INTO todo(todo, added_on) VALUES (?,?)",
      ["Talk about Chrome.", new Date()],
      onSuccessHandler,
      onErrorHandler);
 });
        

IndexedDB


var request = indexedDB.open("todo");
request.onsuccess = function(e) {
  var db = e.target.result;
  var trans = db.transaction(["todo"],
      IDBTransaction.READ_WRITE, 0);  
  var req = trans.objectStore("todo").put({
    "text": todoText,
    "timeStamp" : new Date().getTime()
  });

  req.onsuccess = onSuccessHandler;
  req.onerror = onErrorHandler;
};
        

Filesystem APIs


var fs = window.requestFileSystem(window.TEMPORARY,
    5*1024*1024, onInitFs, errorHandler);
function onInitFs() {
  fs.root.getFile(
      'log.txt',
      {create: true, exclusive: true},
      function(fileEntry) {
        // fileEntry.isFile === true
        // fileEntry.name == 'log.txt'
        // fileEntry.fullPath == '/log.txt'
      }, errorHandler);
}
        

Remote Debugging

Unforking

We need your help!

?

+Mike West (mkw.st/+) mkwst@google.com