Camera

The camera widget is a button that will open a default camera based on the device used by the application user. If a camera does not exist, you can select an image. For example, if you use an iPhone to access the application, and they select the camera button, the default iPhone camera options page appears. After you capture an image with the default camera, the image is held in the local memory of the application until you perform an action (such as linking the image display so the image appears in the application).

Camera Settings

When you use a camera widget, in addition to the default settings, the following settings are available.
SettingDescription
Max WidthThe maximum width of the uploaded image in pixels. This setting is optional.
Max HeightThe maximum height of the uploaded image in pixels. This setting is optional.

Possible Uses

You can use the camera widget to allow an application user to add images to an application or database. Example:
  • If an application deals with selling goods, a user can upload an image of the goods that they want to sell.
  • If an application deals with car rentals, a user can capture a photo to report a car accident, and then save it to the database. The rental agency can then view the image.