Reputation: 333
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.
I know how to use SharedPreference in delphi, but I don't know what is the filename & path of the photo it self!
Any clues?
Upvotes: 1
Views: 1929
Reputation: 91
There is a sample showing you how to do it coming with delphi samples:
C:\Users\Public\Documents\RAD Studio\12.0\Samples\FireMonkeyMobile\PhotoEditorDemo
Upvotes: 1
Reputation: 595971
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.
Upvotes: 3