Purpose of this application is to simulate work of a video camera. The application loads four different pictures and displays them one after another, as fast as it can.
On the images included in the package the author of the application captured winking. Played one after another, it makes an impression of a short movie sequence. Users can take their own pictures and add them to the raw resources for the application and then change the files array in the run() function in ImageFile.java to substitute their own pictures.
The use for this is that once the CameraDeviceFile object is created one can use it as a substitute for the CameraDevice object. This would allow to capture images with a webcam, for example, and develop code for Android image processing while they are working on a real camera interface.
The author also included hisown JJIL (Jon's J2ME Imaging Library) as a JAR file in the code. This is what makes it possible to resize the images so they'll satisfy the API (which requires a specific returned image size - 320x240 or 1280x960). The author uses the image stretching and shrinking routines from the library to make the images fit the desired size. So any supplied JPEG or PNG images will work. The jjil.jar file needs to be added to the libraries, which are going to be linked against to compile the code. The code for this project can be discovered at http://code.google.com/p/jjil/source