Google Announces Plans To Bake Android-Like Web Intents Into Chrome
techcrunch.com
techcrunch.com
Web Intents will level the playing field again, and they make those horrible embedded Facebook/Google+/whatever social networking buttons obsolete by replacing them with something way more powerful.
To take the example from the blog post, at the photo storage website you could choose to edit an image and get menu of choices that doesn't just include web app image editors, but also includes native image editors installed on your device. That sounds pretty amazing to me.
http://developer.apple.com/library/ios/#featuredarticles/iPh...
On the handling side, however, on iOS there are limitations that I think make them qualitatively different:
- only one application can handle any given URL scheme
- no mechanism (other than Apple apps win) for choosing between apps that want to handle a URL scheme
- no notion of optionally handling a URL scheme based on its contents (which enables very useful filter-like behavior)
- no notion of "returning" to whatever raised the request (there are schemes to hack around this, but they are limited and brittle)
- built-in support for carrying general payloads (rather than having to encode them in a URL)
The fact that they are already working with Mozilla is a good sign and it wouldn't be in Google's strategic interests to make this proprietary.
MS's problem traditionally has been that it doesn't open the spec for these sorts of things until much later, if at all. This is a tendency Google does not really share when it adds features to Chrome. For instance, before Google officially started working on Web Intents, an employee of theirs and one from Mozilla came up with different ideas for how intents should be handled. They agreed on a preliminary spec and now that spec is open for anyone to implement.
If a feature is led by Chrome, Firefox, or Opera you know that any native platform hooks have been designed thoughtfully to work nicely across at least the 3 major desktop platforms.
Sadly, the Google+ client doesn't share out yet, but hopefully that's coming.
Where I've not see so much use is providing completely new intents, presumably because its so hard to get any sort of agreement on how they should be implemented.
Additionally for the big system-level intents there is an "always use this action" which is useful so you don't have to repeatedly tell it to use the phone app to place phone calls.
One of the finer points which I really appreciate is how intents can be fine-tuned not only to handle "a image" or "a mp3" or act like a extension/protocol-handler in your desktop OS, but how it can react on parts of a intent, like the domain of a URL.
When someone links to Applications on Android market on a web-page (i.e., a https-link to market.android.com) and I click it on my Android device, I actually get the link "opened" by having Android market app launched and focused on that specific application. Very, very neat.
The same thing can be done for wikipedia readers. A wikipedia link launches your app. In the same way other apps can provide intents for music selection, playback, data-sources, data-consumers and god knows what. Or just have an app become the default for some action on your system by handling the generic intent (i.e. surf the web).
Intents are one of the really good things which makes Android Android. And in case there were any doubts: I think it works out bloody fantastic.
Btw Chrome is already on Android. Well, for Google TV at least. It's great that there's this cross-pollination of ideas. Makes for better software.
A more cynical attitude could be that Chrome intends to be it's own platform (see Chrome OS), and the Android team doesn't want to wake up one day and end up as nothing more than the gory bits between Chrome and the hardware (as Windows already is is for some people).
And I mean true, silent autoupdating. When a developer publishes a new version of the app it should download the package, then apply the update the next time that application is closed.
As for your cynical observation, I doubt there is any conspiratorial reason for this. I think it has more to do with Android operating more or less like an independent startup inside Google. I think the Android browser would be much better if the Chrome team was behind it.
Silent auto-update = No user interaction necessary at all. No notification.
Would be interested to learn what the "security reasons" are that you referenced above; did you mean the underlying OS? I've always felt that by Appifying more of the core Android OS functions, Google could deliver more timely updates because they would be able to avoid many of the carrier restrictions and awful modifications made by manufacturers (e.g. just include the keyboard as an app that gets shipped with the core OS).
[UPDATE:] Can't reply to georgemcbay, but he stated:
> "this can be disabled"
I've had this set in the market app as you described for a while, but still get notifications when an app has autoupdated. Did I miss something?
It is true that by default you still get notifications for each app update, but this can be disabled (go to the settings in the Market app, set the notifications setting to 'Do not notify me').
While technically this isn't quite the same as Chrome because the user has to disable notifications manually (and the notification option isn't a per app option, but rather for all apps), I think the system in place on Android strikes the right balance for a mobile device.
I'm not sure what the answer is here. I also don't want to be asked every time a site wants to register an intent. If you just make it opt-in, it seems like most users will simply miss the opportunity to do so.