Taking a photo, applying effects, and sharing it
This recipe will introduce the mobile development world using a simple app that shows how to take a photo directly from the camera or from the photo library, apply some effects to it, and then share it using one of the installed apps on the device.
Getting ready
This recipe makes an extensive use of Delphi actions. Actions are an implementation of the GoF Command design pattern and are an important tool for the Delphi developer since the initial versions of Delphi. You can use them as much as you can. In the mobile era, actions are even more important and useful. Indeed, actions can be used to execute common tasks such as taking a photo from camera, getting a photo from the library, or sharing some content with the other apps. Here's how our app will look:
How to do it...
Now we are about to create our first FireMonkey mobile app. Let's start...