To provide a mechanism that enables preparation of a program for
photographing regardless of the type of camera device and obtaining image
data in a unified format. Mobile phone 10 comprises: means for selecting
a camera device; means for generating, in a case that image data of said
object photographed by a selected camera device is to be stored, a camera
object including attributes corresponding to said camera device; means
for calling a program to photograph an object; means for photographing
the object with said camera device in accordance with the program called
by the camera function calling means and for storing image data
representing image of said object in the camera object; and means for
obtaining image data stored by the image storing means in a unified
format from the camera object.