官术网_书友最值得收藏!

Interacting with the camera

There are at least two ways to take a picture with FireMonkey—the first, for the lazy, is to use an ActionList, linking the action of taking a photo to a visual component, such as a button. In this case, your application will request access to the device's camera application.

The second form, however, gives us more freedom in terms of functionality, using TCameraComponent. With it, you can set the resolution, specify the type of camera (front or back) that can be used, choose to use the flash, and you can even create your own flashlight application.

主站蜘蛛池模板: 平罗县| 卓尼县| 阳谷县| 乌什县| 新建县| 延长县| 高青县| 南昌县| 马山县| 格尔木市| 确山县| 绩溪县| 会同县| 嘉鱼县| 成武县| 红桥区| 吕梁市| 沁源县| 乐业县| 廉江市| 巩义市| 扎囊县| 慈溪市| 南华县| 凤城市| 舟曲县| 新野县| 大城县| 大洼县| 新安县| 奎屯市| 长宁县| 蕲春县| 庆安县| 云梦县| 抚远县| 西安市| 革吉县| 松滋市| 怀柔区| 会同县|