News for hackers. Stuff that matters.
Re:Chrome for iOS by hboon on Thursday June 28, 2012 @07:20PM (#4174444)
Are you not thinking of custom URL schemes, which you can switch to another app and optionally pass small bits of data to it?
Re:Chrome for iOS by dunham on Saturday June 30, 2012 @11:07AM (#4181791)
I'm not sure what happens when multiple apps register for the same scheme.

I'm looking for a generic mechanism to let the user choose an app and pass an 'http' url to that app. I don't think I can do that with custom schemes, because each app would have its own scheme.

It could be accomplished via a custom file type if everybody standardized on it (say via a .url file of type text/x-url or maybe even text/plain). But I was hoping for something official.

The current way people do this is via the pasteboard, but the switching and pasting process feels awkward to me. I suppose that may be the best solution for now. Maybe apps should just handle things better if they're awoken with a new URL on the pasteboard (i.e. offer to take an action with it).

I'll think through my use cases some more.

Re:Chrome for iOS by hboon on Saturday June 30, 2012 @11:53AM (#4181925)
The first app or the last app (can't remember which) that registered for the custom URL scheme owns it.

> Maybe apps should just handle things better if they're awoken with a new URL on the pasteboard (i.e. offer to take an action with it).

This is almost how using custom URL schemes would work, but I think it's still superior to fiddling with the pasteboard though.

But you are right. There isn't a standard way to do it now. Most apps that expose or utilize this form integration has to come up with something themselves. Also see http://handleopenurl.com/