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: JNI and Objective-C?



working with an objective C jnilib is exactly the same as a C or C++ one.
There are examples in the apple samples - e.g. developer.apple.com/ samplecode/JSheets/index.html


FWIW we always put our jnilibs in the contents/java/resources directory within the app.

On 23 Oct , 2007, at 9:06 PM, email@hidden wrote:

All the JNI development I have done up until now has used C/C++. I
now have a need to make functionality in an Objective-C based library
available to my Java program, though I have no idea how I call
Objective-C from C/C++. Does anyone have examples on how to achieve
this?

Also, if I have a Objective-C framework and also have a corresponding
Java interface, is /Library/Java/Extensions the right place, or is
there support for discovering a java library as part of a MacOS X
framework?

email@hidden http://www.veytisou.com



_______________________________________________
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.