访问照片文件 [英] Accessing Photo File

查看:198
本文介绍了访问照片文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用的是标准的TTakePhotoFromCameraAction在我的应用程序,以便拍照。

I use the standard TTakePhotoFromCameraAction in my application in order to take a photo.

我想什么做的,是当用户关闭应用程序,然后再次打开它,最后拍摄的照片上传。

What I would like to do, is when the user closes the application and then open it again, the last taken photo to be uploaded.

我知道如何使用<一个href=\"http://stackoverflow.com/questions/18799540/accessing-androids-shared$p$pferences-class-from-delphi\">Shared$p$pference在Delphi中,但我不知道什么是文件名和放大器;照片它自身的路径!

I know how to use SharedPreference in delp but I don't know what is the filename & path of the photo it self!

任何线索?

推荐答案

TTakePhotoFromCameraAction.OnDidFinishTaking 事件给你一个位图的拍摄照片。它是那么您有责任将它保存在哪里以及如何需要它。 TTakePhotoFromCameraAction 不保存它。

The TTakePhotoFromCameraAction.OnDidFinishTaking event gives you a Bitmap of the taken photo. It is then your responsibility to save it where and how you need it. TTakePhotoFromCameraAction does not save it for you.

这篇关于访问照片文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆