99 points · by kinlan · 14y ago · 55 comments
When you think about it this seems to align well with the original philosophies of the web. Exciting times.
This is huge for web apps, and is a huge blow for local file system fans.
I could, as you suggest, set a default, but if I do that then that browser owns all of my links and the only way to change it is to hunt down the setting to disable the default (which is buried in the settings UI I suppose).
So I live with the (extreme annoyance) of clicking on a link within the browser that then prompts me which browser I'd like to use to open it.
Getting the UX right on this is by far the most important part of the project.
http://android-er.blogspot.de/2011/03/pick-file-using-intent...
After switching from Android to an iPhone, I miss the powerful User Experience that Android provides.
Hopefully Google and Mozilla will put enough resources behind this that it becomes standardized on, and maybe even Microsoft will get on board.
Apple, well, probably not.
And while I agree that file upload is a major, glaring omission and a constant source of pain, I still hope it's not permanent.
Of course, I'm open to other interpretations.
[1] http://www.wired.com/gadgetlab/2011/12/ios-revenues-vs-andro...
[2] http://www.apple.com/pr/library/2011/10/18Apple-Reports-Four...
[3] http://files.shareholder.com/downloads/AAPL/1856667914x0xS11...
[4] http://www.pcworld.com/article/226531/apples_popular_apps_no...
Mozilla web apps / web activities: https://people.mozilla.com/~anarayanan/webapps.html
http://blog.mozilla.org/labs/2011/07/web-apps-update-experim...
A overview of currently envisioned use cases: http://usecases.webintents.org/
Activity base schema (IBM, SAY, Facebook, Six Apart, Google, Microsoft, MySpace): http://activitystrea.ms/head/activity-schema.html
Web intents at w3c: http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview...
Web Intents is a framework for client-side service discovery and inter-application communication. Services register their intention to be able to handle an action on the user's behalf.
var intent = new Intent("http://webintents.org/edit",
"text/uri-list;type=image/jpeg",
getImageDataURI(...));
navigator.startActivity(intent, imageEdited);
http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview...You'll notice that all of the editors are Googlers.
http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview...
What are the security concerns?
<a href="image.png" action="edit">
<a href="myblog.feed" action="subscribe">
<a href="rickroll.vid" action="view" target="_blank"> <a href="edit:mycat.png">
<a href="subscribe:myblog.feed">
<a href="view:rickroll.vid" target="_blank">
Browser vendors get together and implement some basic protocols and a simple UI to change them.Note though that this is something we also considering, we will be bringing in RPH and RCH into the intent declaration.
The intent tag is about the declaration of abilities that your app has so in your model this would also be possible.
<a href="wallst.com?ticker=AAPL" action="stocks" onmessage="update(event)">
Kind of server events attached to the message event of an actionable link. Everything scriptable.You know, just throwing ideas to the wall to see if something sticks.
Good point about returning data.
Seems like something you could probably already do with like an iframe and postMessage. There is a JavaScript based implementation, maybe that's how they do it.
One is about metadata and machine readability whilst the other is about linking web app capabilities.