Tag Archives: Mobile App

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”.

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.