Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!


Dual Camera App Sample Source Code In Delphi XE6 Firemonkey On Android And IOS

Delphi XE6 Firemonkey Dual Camera AppDeveloper Steffen Nyeland has a blog post up where he shows how to build a dual camera app using Delphi XE6 Firemonkey. I think I’ve tried this before myself and came to the same conclusion that he did. Basically you can’t use both cameras at the same time on most devices which means you have to take one photo and then take the other photo (verses taking them both at the same time). He sets up some life cycle events to take care of disabling the camera when the app is in the background. He also sets up the camera buffer events to save the images off the camera buffer to a bitmap. He has code for merging the two images from the front and back camera. And finally there is code for sharing the final image using the share sheet action.There is full source code for his sample app available on the blog as well. I believe this code should work on Android and IOS. Additionally it will probably work in XE5, XE6, and AppMethod.

Head over and check out the full blog post before downloading the same source code for Delphi XE6 Firemonkey.


Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes


Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores


DelphiCon 2020 FireMonkey Sessions Available Starting November 19


Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

Sign up for our Newsletter and
stay informed

Leave a Reply