| Accessing native libraries from fragments using JNI [message #508852] |
Wed, 20 January 2010 09:53  |
M. Messages: 6 Registered: December 2009 |
Junior Member |
|
|
Greetings,
I use JNI in a plugin project to access a native library. On my linux developer machine the native library is located on the library path and everything works fine.
Typically the application will be used on Windows machines without installed libraries, therefore I want to ship the required DLLs using a fragment plugin.
By using Platform.getBundle().findEntries() I can retrieve an URL to the file, wich is something like
bundleentry://115.fwk15354046/libcv200.dll
How can I transform this to an absolute file path which can be used by the JNI method Native.loadLibrary?
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02475 seconds