Skip navigation.
 
mlRe: Cocoa "InternetConfig? Need to add a protocol like foo:// and handler app
FROM : Jim Correia
DATE : Tue Apr 03 21:45:02 2007

On Apr 3, 2007, at 3:33 PM, Alex Cone wrote:

> Is there a Cocoa api for adding a new internet protocol to the set 
> recognized by the system and an associated handler app?  I can see 
> this is possible (e.g. MonkeyFood's cool Vince.app and More 
> Internet preferences pane) but everything I've seen uses the carbon 
> InternetConfig.h functions.  Is there a Cocoa version of this 
> functionality?  Am I missing something obvious?


What, specifically, are you trying to accomplish?

If your application implements a custom URL protocol, advertising 
support for that protocol in your Info.plist should be sufficient.

If you have some other needs, it may be met by the current 
LaunchServices API.

Jim

Related mailsAuthorDate
mlCocoa "InternetConfig? Need to add a protocol like foo:// and handler app Alex Cone Apr 3, 21:33
mlRe: Cocoa "InternetConfig? Need to add a protocol like foo:// and handler app Nick Zitzmann Apr 3, 21:43
mlRe: Cocoa "InternetConfig? Need to add a protocol like foo:// and handler app Jim Correia Apr 3, 21:45
mlRe: Cocoa "InternetConfig? Need to add a protocol like foo:// and handler app Uli Kusterer Apr 3, 21:48
mlRe: Cocoa "InternetConfig? Need to add a protocol like foo:// and handler app Alex Cone Apr 4, 04:53