To enable pJava applications to access the camera API, we are giving you this JNI library together with two example applications showing how to use the basic features of the API. The two examples, together with the JNI library, are bundled together in one zip file, included with this article. The pJava examples make use of the Java classes Camera and Viewfinder. The camera class is the core class for initializing and using the camera; the Viewfinder class wraps the Camera class, to make it easier to use the API.
Code examples and code modules