Categories |
ImageFileSubmitted by jonawebb on Tue, 12/04/2007 - 23:31.
The application loads four different files and displays them one after the other, as fast as it can. The images I'm including in the zip file are of me winking. So it makes a little movie. You can take your 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 your own pictures. The use for this is that once the CameraDeviceFile object is created you can use it as a substitute for the CameraDevice object. This would allow you to capture images with a webcam, for example, and develop code for Android image processing while they are working on a real camera interface. I'm also including my own 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). I use the image stretching and shrinking routines from the library to make the images fit the desired size. So any JPEG or PNG images you supply will work. You'll need to add the jjil.jar file to the libraries you link against to compile the code. I've moved the code for this project to Google code. See http://code.google.com/p/jjil/source. Download |

i want to see all my images
i want to see all my images moving automatically so it looks like screen saver can you pls guide