ImageFile

Application provides the CameraDeviceFile Java class as a replacement (it has the same methods) for the CameraDevice class in android.graphics.

Contents:

  1. General
  2. Description
  3. Download

General

Developer: Jon A. Webb

Category: Multimedia

Latest version: [unnamed]

Total versions: 1

Submitted: 4 Dec 2007

Updated: 14 Aug 2010

Description

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

Download

[unnamed] seem to be the latest available version. Below you can find file(s) assigned to this version:

Description/changelog of [unnamed]:

Please note that this version was developed using the previous version of the Android SDK, so won't work in the latest version, or the available Android phones.

Categories

Games (176)
Finance (61)
Health (92)
Travel (104)
Reference (146)
Productivity (230)
Multimedia (117)
Communications (216)
System (159)
Entertainment (256)
Shopping (61)
Sports (58)
News (37)
Internet (1)

Follow on

Subscribe to the Android Freeware on Twitter Twitter
Subscribe to the Android Freeware on Facebook Facebook
Subscribe to the Android Freeware on Google Buzz Google Buzz

software for android