News for hackers. Stuff that matters.
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by khangtoh on Thursday August 15, 2013 @08:52PM (#6221561)
I'm struggling to see what is the difference between the native iOS UIActivity vs Ink.

http://developer.apple.com/library/ios/documentation/uikit/r...

I thought that's what UIActivity does and many applications are already using this particular feature to share photos between apps.

Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by brettcvz on Thursday August 15, 2013 @10:07PM (#6221810)
The primary difference is that Ink allows for applications to register new actions across applications, and to launch content directly into other applications as well. Think of Ink as a cross-application version of UIActivity that's open to anyone registering handlers, as opposed to only being able to use the UIActivity's of your own app or the system provided ones.
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by nakedrobot2 on Thursday August 15, 2013 @01:46PM (#6219463)
I wonder if Apple will approve this, as it seems to allow the iPhone to do something that Apple doesn't want it to do?

If Apple wanted apps to talk to each other in the (IMO very sensible) way that Android does, wouldn't they have done so?

Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by brettcvz on Thursday August 15, 2013 @01:48PM (#6219472)
We've been working with apple since WWDC, they know what we're doing and are fine with it.
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by batgaijin on Thursday August 15, 2013 @02:22PM (#6219668)
Are you afraid they are using you for market verification?
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by brettcvz on Thursday August 15, 2013 @02:32PM (#6219723)
Not particularly. In a sense larger, established companies are always looking at startups for market verification; the startups that succeed are the ones that can out-pace the established companies.

In addition, there are market dynamics that preclude any of the larger players truly building a platform for interoperability. See for example the recent Google/Microsoft turf wars, that Mailbox only supports attachments from Dropbox, iOS native composer only works with Mail and not gmail, etc.

Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by MatthewPhillips on Thursday August 15, 2013 @02:44PM (#6219785)
I'm curious how the inter-device communication will work. Will I be able to send data from my iPad to my Android phone, for example? That would be pretty slick if so.
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by jimbokun on Thursday August 15, 2013 @05:31PM (#6220733)
Speaking of DropBox, they seem like a natural competitor in this space. Given that they are also a YCombinator startup, has that been discussed? Or is it more likely they will just be happy to be one of the many backends you support?
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by csixty4 on Thursday August 15, 2013 @02:26PM (#6219690)
They already approved AudioBus[1], something similar for music apps. In fact, the iOS version of GarageBand supports it now, which was unexpected.

[1]: http://audiob.us

Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by rdl on Thursday August 15, 2013 @04:50PM (#6220507)
Is this secure enough that a local password manager (like 1Password) could responsibly use it to pass credentials into apps?
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by brettcvz on Thursday August 15, 2013 @05:03PM (#6220592)
The current release candidate (v0.4.0 - https://github.com/Ink/InkiOSFramework) does not do end-to-end encryption between apps, so we would want to work with them to add in AES256 at a minimum before I'd recommend sending over passwords.

It's both technologically possible to make this secure enough and on our roadmap for the next major release.

Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by somid3 on Thursday August 15, 2013 @12:51PM (#6219102)
The article brings up a great point. This tool is so esencial I wonder why is it that Apple and Android have not made this natively much simpler. Seems like a great venture to be a part of.
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by myko on Thursday August 15, 2013 @01:18PM (#6219287)
> Android have not made this natively much simpler.

This is already amazingly simple on Android natively though. This is an attempt to make it similarly simple on iOS.

Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by brettcvz on Thursday August 15, 2013 @01:20PM (#6219304)
Intents has done a great job on android - I have some minor quibbles with it, but it's light years ahead of what iOS had pre-Ink

Edit since I can't reply to milesokeefe: As an avid android user (Galaxy Nexus), some things about intents that I feel are poorly designed: - No support for bidirectionality. There's no sense of "I'm done with this action, take the results and send it back" - No sense of intelligence in terms of what actions are shown. As far as I can tell, it seems to be filtered by content type, sorted by Most Recently Used. - Unclear actions - iOS suffers the same issue, where it's not really clear what it means to open in another application.

Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by myko on Thursday August 15, 2013 @02:27PM (#6219696)
> No support for bidirectionality. There's no sense of "I'm done with this action, take the results and send it back" -

Doesn't startActivityForResult fit this use case?

> No sense of intelligence in terms of what actions are shown.

I agree here, it can be annoying to pair down the list of applications which will handle an intent. If one wants specific applications one can use the package manager to check its existence and then use that.

Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by biafra on Thursday August 15, 2013 @05:41PM (#6220782)
You can also reduce the list before presenting it to the user.
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by phillnom on Thursday August 15, 2013 @07:16PM (#6221203)
As myko stated, you're wrong about intents lacking bidirectionality, see http://stackoverflow.com/questions/8823206/how-to-return-dat...
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by milesokeefe on Thursday August 15, 2013 @01:50PM (#6219478)
Just curious, what are your minor quibbles?
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by veesahni on Thursday August 15, 2013 @12:55PM (#6219124)
see additional discussion on the other HN topic here, including comments from one of the founders

https://news.ycombinator.com/item?id=6218991

Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by brettcvz on Thursday August 15, 2013 @12:55PM (#6219128)
I'll comment here as well, the other one seemed to have gotten bumped
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by phil on Thursday August 15, 2013 @03:15PM (#6219952)
A short description of how it works would probably go a long way for developer adoption. There doesn't seem to be any.

The most obvious way to implement this might not work the same in iOS 7 -- I'd want to know more before relying on it.

Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by brettcvz on Thursday August 15, 2013 @03:18PM (#6219967)
Re. how it works behind the scenes, we do a streaming protocol over UIPasteboard, with actions being cached locally and periodically updated from the servers when connection is available. At least for now - we will continue to iterate on the underlying tech to make it faster/more reliable/more secure.

Re. iOS7, it required being a bit more clever, but Ink works with iOS7.

Give it a try, let us know what you think.

Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by rsynnott on Thursday August 15, 2013 @01:17PM (#6219286)
I wonder is this going via the internet anyway, or just using the pasteboard thing.
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by brettcvz on Thursday August 15, 2013 @01:19PM (#6219298)
We do the data transfer locally on the device. We had an early prototype that did things over the web, but it was too slow and was frustrating to use on 3G.

Edit for clarification: the transfer occurs locally and works while offline.

Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by rsynnott on Thursday August 15, 2013 @01:24PM (#6219332)
Locally would certainly be preferable (especially for iPads, where the user may not even have an internet connection).
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by mikeash on Thursday August 15, 2013 @01:34PM (#6219391)
And let's not forget that even iPhones can be away from cellular coverage.
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by brettcvz on Thursday August 15, 2013 @01:36PM (#6219404)
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by The_D on Thursday August 15, 2013 @05:43PM (#6220789)
Can't you just use IPC and basic file I/O, rather than tech bubble 2.0?
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by zefi on Thursday August 15, 2013 @08:38PM (#6221519)
Amazing job, excited to see where this goes.
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by workbench on Thursday August 15, 2013 @01:56PM (#6219519)
Isn't this Apples job?
Re:Ink (YC S12) Releases New iOS Layer That Allows Apps to I... by AsymetricCom on Thursday August 15, 2013 @08:44PM (#6221536)
I have a feeling it will be.