Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
C++Code

Create A Cross-Platform Photo Sharing App Within 3 Minutes Using C++ Builder FireMonkey

C++ Builder has always been an outstanding rapid application development environment for millions of developers around the world. In this tutorial, you can see a demonstration of building a photo-sharing application in under 3 minutes using the C++ Builder FireMonkey for Windows, Android, and iOS. Note: C++Builder Android support is limited to Android 32-bit.

FireMonkey component called TActionList has a set of built-in actions for your controls. For instance:

  • View actions
  • Edit actions
  • File and LiveBindings actions
  • Media Library actions…

In this tutorial, we go with the Media Library actions. And we will use the TTakePhotoFromCameraAction that takes an image. Then set to the TSpeedButton to fire the action.

After that when you open the Events tab on the Object Inspector you can create an OnDidFinishTaking event and add this one line of code:

Now for the sender button, you just need to create a TShowShareSheetAction and create an OnBeforeExecute event then apply this code:

That is it! With the C++ Builder, you can create amazing apps within minutes.

See What's New in 12.2 Athens See What's New in 12.2 Athens Dev Days of Summer 2-24

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

Software Developer | CS(CyberSec) Undergrad at APU Malaysia | Delphi/C++ Builder Enthusiast | Microsoft Learn Student Ambassador | Microsoft Azure Certified

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES