Hristo Novatchkov 1.Mar.09 09:29 AM a Web browser Client for Devices6.1.1Windows Mobile
As already discussed earlier I try to use an external jar file for the purpose of calling native methods under the jclDevice environment.
After spending some time on adding the jar file into the Eclipse environment and running it by adding stub classes in the stubs4beans.jar file of the jclDevice runtime environment, I finally succeeded in running my application in Eclipse. Now I tried to deploy and run the program on the device. Unfortunately, the jar file and its classes don't seem to be found on the device, as the following error code shows:
Java.lang.Error: Unresolved compilation problems:
The import com.sun.jna cannot be resolved
Library cannot be resolved to a type
Native cannot be resolved
...
I though that the external jar should be automatically packaged in the created feature and site projects. Or does it have to be copied separately on the device?
Additionaly, does somebody know where I have to place the dll files that I want to load and use?
Thanks in advance!
Hristo