Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Source code for the Mac OS X "ApplicationStub" launcher binary



On Nov 21, 2007, at 7:25 AM, Michael Ellis wrote:

Hi folks.

I need to respond to an "open url" AppleEvent, and I find that Apple's ApplicationAdapter class will only help me catch "open file" AppleEvents. Rather than reinvent the wheel, I would like to modify Apple's "ApplicationStub" binary so that I can catch the AppleEvents I care about.

So, my question is this: Can somebody point me toward the source code for the "ApplicationStub" binary (the one we stuff in our application's Contents/MacOS directory)?

My searches of the archives and the developer site have not yet been fruitful.

To the best of my knowledge, we have never provided the source to the JavaApplicationStub. I'm uncertain if it would make good "example source code", but it may be worth requesting. Also, we could consider enhancing to the stub to take a list of four-character codes (from the Info.plist, perhaps), to relay to Java. I'm not quite sure how this would all work, and it might require adding some additional classes to the EAWT, but I'd be interested in looking into it, if you would like to file a bug report on how you would like to use it.


Cheers,
Mike Swingler
Java Frameworks Engineer
Apple Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Source code for the Mac OS X "ApplicationStub" launcher binary (From: Michael Ellis <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.