All posts by Developer

Firemonkey Mobile Master/Detail Database Apps with FireDAC

firedac firemonkey database apps

Description :  Building Mobile Master/Detail Database Applications with FireDAC.
Objective: You will learn how to leverage the FireDAC components and also write cross platform code where required with master/detail data model examples.
Presenter: Marco Cantù, Embarcadero Technologies.
Event:  CodeRage Mobile Session (2013)
Software Versions Supported: Delphi XE5, Delphi XE6, RAD Studio XE6, C++ Builder XE6

Level: Intermediate

FireDAC is a Universal Data Access library/components for developing cross-platform database applications for Delphi and C++ Builder.  FireDAC enables native high-speed direct access to MySQL, SQLite, Oracle, SQL Server, IBM DB2, InterBase, PostgreSQL, Firebird, Informix, SQL Anywhere, Access and more.

Marco Cantù from Embarcadero Technologies does a great job explaining how to use FireDAC components across all of the Delphi target platforms using IBLite and IBToGo. However, FireDAC can be use just the same way with SQLite.

The FireDAC native driver supports SQLite database version 3.0 and later. For a detailed discussion on SQLite usage in FireDAC for a Delphi application, read the “Using SQLite with FireDAC” article.

Using SQLite in your application will require that the sqlite3.dll file be present on your development system. If this file is not present, download sqlite3.dll from http://www.sqlite.org/download.html to your system path (such as C:WindowsSysWOW64 for 64-bit Windows).

For more information on usage of FireDAC in mobile applications  read the “Using FireDAC in Mobile Applications (iOS and Android)” article.

Delphi Firemonkey Source Code for Bluetooth Remote Control Car

MiniCooperBluetoothCar

Description : Delphi source code for Bluetooth remote control car.
Objective: Learn how to use Bluetooth technology in Delphi Firemonkey to control or interact with Bluetooth devices and gadgets.
Presenter: Daniele Teti and Daniele Spinetti of bit Time Software.
Source: JDaniele Teti and Daniele Spinetti blog post.
Software Versions Supported: Delphi XE5, Appmethod
Level: Intermediate
Source code: The free source code for bluetooth app can be downloaded on Github.

Daniele Teti and Daniele Spinetti of bit Time Software have developed an app to control the BBZ201 – Mini Cooper S Bluetooth Car via Bluetooth for Android.  Jim McKeeth created a GitHub repository for the project where you can download the code. The iOS version to be released soon with the same codebase.

The BBZ201 Mini Cooper S Bluetooth car can be controlled via mobile’s orientation sensor or touch-screen button interface. It has a super fast motor with full directional steering capability and can be purchase on Amazon for approximately $45.00.

The App currently does not have Bluetooth discovery, you will need to add the car’s MAC address to the source code once you have pair your device. You can add Bluetooth discovery feature yourself if you are interested.  Get the full Bluetooth interface in Object Pascal for the Android SDK interface project on Github which was loaded by fmxexpress.com. Also take a look at Android Bluetooth API.

You can find out more about pairing of Bluetooth devices in a webinar video by Jim McKeeth which you can find in one of my earlier articles: “Programming Mobile Devices and Gadgets using Firemonkey”.

Delphi firemonkey Component to Control Parrot AR.Drone 2.0 Quadricopter

Feature-BBQ-drone-touch-boyss-skyline

Description :  Firemonkey component to control Parrot AR.Drone 2.0 Quadricopter.
Objective: Learn how to use Jim McKeeth TARDrone Firemonkey component to control Parrot AR.Drone 2.0 Quadricopter.
Presenter: Jim McKeeth from Embarcadero.
SourceJim McKeeth from Embarcadero blog post.
Software Versions Supported: Delphi XE5, Delphi XE6, RAD Studio XE6, C++ Builder XE6
Level: Intermediate
Source code: The free component can be downloaded on Github.

You have used Delphi XE to develop mobile apps, but have you developed an app to to fly an aircraft? Raise your mobile app adventures to new heights with the AR.Drone 2.0 Quadricopter component for firemonkey.  This component will allow you to control the Parrot AR.Drone 2.0 Quadricopter remotely with your smartphone or tablet, giving you the ability to be flexible and innovative with your app development.  The Parrot AR.Drone 2.0 Quadricopter can soar high above your neighborhood or get a bird’s-eye view of your child’s first bike ride. While flying, you can capture HD video and images that you can later share with friends and family using YouTube, Facebook, Twitter and more.   You can also hone your piloting skills by performing aerobatic barrel rolls all from the app you have created.

This awesomely cool Delphi component (TARDrone) has been released by Jim McKeeth from Embarcadero. Its a free component and can be downloaded from Github.  All you need to do is to connect your device to the AR Drone provided access point and the rest is handled by the component.

[box type=”tick” style=”rounded”]Note: If you previously used the iOS controller app (or some other controller apps) then the Quadricopter may be paired to that device and you may need to reset it (the small recessed button in the battery compartment) before this component will work with the device.[/box]

Also checkout Jim McKeeth previous article on “Connecting to the Parrot AR.Drone 2.0 from Delphi XE5 “.

Programming Mobile Devices and Gadgets using Firemonkey

Google-Glass

Description :  How to take advantage of programmable and interactive devices and gadgets.
Objective: Learn how to create Delphi and C++ firemonkey apps for mobile devices and gadgets.
Presenter: Jim McKeeth & David Intersimone from Embarcadero.
Event:  RAD-in-Action Webinar
Software Versions Supported: Delphi XE5, Delphi XE6, RAD Studio XE6, C++ Builder XE6
Level: Advance
Source code: Source code for demos in this video is available on Code Central at http://cc.embarcadero.com/item/29699.

Although Delphi XE5 allowed you to create Android apps that ran on Google Glass using firemonkey, Delphi XE6 just made it even easier.  Delphi XE6 comes with a new custom style with Google Glass optimized look and resolution.  It also comes with a Google Glass device designer template.

You can now take full advantage of devices and gadget such as Google Glass (which went on sale in the US about a week ago) and Amazon Fire TV.  Google Glass is a stamp-sized electronic screen mounted on the side of a pair of eyeglass frames. It can record video, access email, provide turn-by-turn driving directions and retrieve information from the web by connecting wirelessly to a user’s phone.  Amazon Fire TV, is an streaming media player similar to the Roku and Apple TV, but android base. You can develop apps including games for the Amazon Fire TV the same way you would for any Android device.  Once your Fire TV app has been tested and is working properly on the Fire TV, it can then be submitted for approval on the Amazon app store.

Jim McKeeth & David Intersimone from Embarcadero did a fantastic job in this video explaining how to create Delphi and C++ firemonkey mobile applications that run/interact with the following devices and gadgets.

  • Google Glass
  • IP Camera and IO Controller
  • Ballistic Chronograph
  • Leap Motion 3D input
  • Z-Wave Home Automation
  • Barcode scanning
  • Emotiv EPOC brain computer interface
  • Philips Hue Wireless LEDs
  • Ouya
  • Kinect
  • And more!

Devices are platforms that can load and execute programs directly, such as an Android phone, iPhone, a tablet or even Google Glass.  A gadget on the other hand is something your program interacts with, like 3D input, a brain-computer interface, or a flying drone.

Effectively Using List Controls in Delphi Firemonkey Mobile Apps for iOS and Android

Delphi Firemonkey ListBox

Description :  The advantages and disadvantages of List controls (TListBox and TListView) and how to use them effectively in your mobile applications for optimal user experience and performance.
Objective: How to effectively use List components in your mobile applications for optimal user experience and performance.
Presenter: Ray Konopka – Raize Software
Event:  CodeRage 8
Software Versions Supported: Delphi XE5, Delphi XE6, RAD Studio XE6, C++ Builder XE6
Level: Intermediate

Firemonkey Application platform in Delphi and C++ Builder provides to major list based controls called TListView and TListBox. TListbox and TListView can be used interchangeable, however for optimization and performance it is better to use TListbox for short list and TListView for longer dynamic list.  Ray Konopka from Raize Software does an excellent job in explaining the differences between the two list controls and their effectiveness in mobile applications (iOS and Android) to ensure optimal user experience and performance.

You can find more information of Delphi/C++ Builder firemonkey TListbox and TListView in the links below.

1. Mobile Tutorial: Using ListBox Components to Display a Table View (iOS and Android).
2. Enabling the Swipe-to-Delete Feature on TListView Items.

Also, take a read of one of our earlier articles on Rad Studio LiveBindings and how to populate FireMonkey ListView component from a TPrototypeBindSource containing some sample data. The tutorial will show you how to add the sample data and how to make the bindings between the prototyping source and the list view component in order to fill the list.

Firemonkey Rapid Mobile App Prototyping using LiveBindings

LBListBoxiOS7

Description :  You will learn how to use TPrototypeBindingSource component to generate sample data for LiveBindings in your project.
Objective: How to rapidly prototype your mobile application using LiveBindings.
Presenter: Jim Tierney, Principal Engineer at Embarcadero Technologies.
Event:  CodeRage 8
Software Versions Supported: Delphi XE5, Delphi XE6, RAD Studio XE6, C++ Builder XE6
Level: Intermediate

Jim Tierney, principal engineer at Embarcadero Technologies talks about Firemonkey rapid mobile application prototyping using LiveBindings and the Prototype BindSource control in Delphi.  LiveBindings is a data-binding feature supported by both the VCL and FireMonkey frameworks in RAD Studio. LiveBindings is an expression-based framework, that uses binding expressions to bind objects to other objects or to dataset fields.

Use TPrototypeBindSource to generate sample data for the LiveBindings in your project. Once your prototyping of your application is completed,  you can then configure the real data source so that you see the new data source fields in the LiveBindings design. Then, use the LiveBindings Designer to connect all the controls and properties to the new data source. This tutorial will shows you how to rapidly prototype your mobile application using LiveBindings.

Besides the video tutorial, take a read the of this step by step Delphi Firemonkey Mobile Tutorial: “Using LiveBindings to Populate a ListBox in Mobile Applications (iOS and Android)“. Another good read is the tutorial on “Using LiveBindings to Fill a FireMonkey ListView” on do Embarcadero docwiki website.

Designing Common UI for iOS & Android using Delphi Firemonkey

DesingingUI
Preferred Mobile UI Components

Description :  You will learn how to quickly build stunning native #ios and Android apps that follow key mobile UI and UX design paradigms, and adheres to Apple and Google UI guidelines.
Objective: Help make your app stand out in the marketplace.
Presenter: Sarian DuPont, Sr. Product Manager for RAD Studio at Embarcadero.
Event:  CodeRage 8
Software Versions Supported: Delphi XE5, Delphi xe6, RAD Studio XE6, C++ Builder XE6
Level: Intermediate

Designing Common UI for iOS & Android using Delphi Firemonkey is an excellent Tutorial by Sarina DuPont,  Sr. Product Manager for RAD Studio at Embarcadero.

She discusses how best practices does not only apply to coding, but to beautiful elegant UI coupled with a great user experience.  She explains how best practices are the key to making successful applications.  Making your app stand out is critical to having a customer choose your mobile app from the hundreds of thousands of applications in the iOS App Store and Google Play.

Delphi firemonkey cross platform capabilities gives developers leverage for  a common design that  can be share across multiple devices you want to support. In this session you will  learn how to quickly build stunning native iOS and Android apps which follows key mobile UI and UX design paradigms, and also adheres to Apple and Google UI guidelines.  This will help make your app stand out in the marketplace.