ImageFile

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

Contents:

  1. Description
  2. ImageFile for Android

Description

Developer: Jon A. Webb

Category: Multimedia

Platform: Android

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

ImageFile for Android

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

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

There are totally 1 version(s) of ImageFile for Android on this site. More details and all its versions are available on the ImageFile for Android portal.

Categories

Games (253)
Finance (65)
Health (96)
Travel (116)
Reference (166)
Productivity (262)
Multimedia (136)
Communications (235)
System (161)
Entertainment (256)
Shopping (60)
Sports (58)
News (36)
Customization (13)
Utilities (29)
Internet (6)
Education (4)

Follow on

Subscribe to the Freeware Lovers on Twitter Twitter
Subscribe to the Freeware Lovers on Instagram Instagram
Subscribe to the Freeware Lovers on YouTube YouTube
Subscribe to the Freeware Lovers on Facebook Facebook
Subscribe to the Freeware Lovers on LinkedIn LinkedIn
Subscribe to the Freeware Lovers on GitHub GitHub