Mailing Lists: Apple Mailing Lists

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

Showing Help



Hi,

My current app - call it Thing - has online help, shown to the user by unpacking into a standard directory from the jar embedded in the Thing.app directory, and loading it into the default browser. This cross-platform stuff has to stay, but I'd like to take advantage of Apple's Help for OSX users. Can't seem to make it go though.

As I understand it, the steps to get a single help page viewable are these:

1) Write an html help page in the appropriate style i.e. with

<meta name="AppleTitle" content="Thing Help"/>

in the header.  Call it index.html

2) Put index.html in the directory:

Thing.app/Contents/Resources/English.lproj/Thing Help

3) Add

<key>CFBundleHelpBookFolder</key><string>Thing Help</string> <key>CFBundleHelpBookName</key><string>Thing Help</string>

to Thing.app/Contents/Info.plist FYI, the CFBundleDevelopmentRegion is set to English, presumably by the JarBundler when Thing.app was originally created.

4) Open the application:

open Thing.app

Thing works as nicely as ever, but with no sign of any online help.

Google provides sparse and inconsistent advice (mostly for early versions of OSX). Apple Developer documentation seems to say that java and cocoa apps do not require any help registration step, further than the Info.plist adjustment. But perhaps I have misunderstood that?

For reference, this box is running OSX 10.4.4 with Java 1.4.2.

I am not going to start using ProjectBuilder just to get this going - the project has to be compilable on a non-Mac.

That all said, most likely I've just forgotten to do something obvious. Any suggestions as to what?

Thanks,

Will


_______________________________________________ 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


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.