Application provides the CameraDeviceFile Java class as a replacement (it has the same methods) for the CameraDevice class in android.graphics.
Developer: Jon A. Webb
Latest version: [unnamed]
Total versions: 1
Submitted: 4 Dec 2007
Updated: 14 Aug 2010
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
[unnamed] seem to be the latest available version. Below you can find file(s) assigned to this version:
- ShowImages.zip (976 KB, ↓ 0)
Description/changelog of [unnamed]: