3 Libraries for improving Existing Applications built with Delphi

One topic I get increasingly asked about Delphi Programming when developers are migrating to the latest version of RAD Studio is “quick ways to improve their applications”. So in this post, I am going to summarise 3 favorites by focusing on the libraries in RAD Studio. If you are new to RAD Studio, then I would also recommend reading these, as they are very easy to implement and provide quick wins to new code too.

As with any actively developing and improving language and IDE, RAD Studio / Delphi is improving all the time. This summary is based on the questions I receive weekly focusing on what is in the box so to speak. While I barely scratch the surface here, I also want to point out that there is a great 3rd party community of developer tools offering even more options that you can explore.

Continue reading 3 Libraries for improving Existing Applications built with Delphi

Setting up the IDE for your First Android App

I have had a growing number of customers asking recently about getting started with Android programming with Delphi, so I thought it was a good time to refresh how to check your IDE is set up, how to enable developer mode on an Android phone, and show how you can rapidly get Android applications run and debugged from RAD Studio.

If you are new to Android development, then the first thing to note is that you need to ensure the IDE has Android support enabled. Under Tools > Manage Platforms, ensure Android is enabled.

You will also need to check Java is setup on your machine. This is because RAD Studio uses the Android SDK and NDK as part of the process for packaging and deploying android applications. One such part is the ADB program which tells the IDE what Android devices are attached to the computer.

If you already have Java installed, you can set the paths to the required elements required by the IDE under Tools > Options > Deployment > SDK Manager

With Java setup and Android tools enabled, you should be able to put your phone into developer mode and connect it to the Windows host to see it in the IDE.

If you have any issues with Android phone setup – check this post out.

The rest of the video shows running your first Android application directly from the IDE. If you want to debug the application, ensure you use DEBUG mode rather that RELEASE build. from the build configurations.

If you are using Debug mode, you still need to choose Target platform (for 32bit or 64bit), a target device, and then a configuration. – e.g. Development.

These options are used to setup and manage the development, release and files deployed. Something I will cover another time.

For more on Android development, check out the Embarcadero docwiki on Android app development

MKS Covid19 App Saving LiVes

The Military Institute of Medicine in Poland has been making the news recently with its app that is helping fight the spread of the global SARS-CoV-2 pandemic.

Piotr Murawski Ph.D, (Head of ICT, Military Institute of Medicine, Warsaw, Poland) shared recently with me how back on the 13th March, 2020, that after the SARS-CoV-2 epidemic reached Europe, the experience of other countries alerted his team that it will not be easy to control the infection, and testing will take a longer time than normal due to the numbers. This intern would have a negative impact on controlling the spread of the disease.

The solution

Continue reading MKS Covid19 App Saving LiVes

Auto Inc Fields in RAD Server with InterBase

How to create Auto Incremental Fields in RAD Server with InterBase, FireDAC and TEMSDataSetResource

One key feature when asking a remote server to add a record is to get the new record ID value returned. Thankfully this is easily achieved with InterBase and FireDAC via RAD Server with TEMSDataSetResource

InterBase has a concept of Generators. These provide a unique sequential integer value that can be used to provide a primary key field value. You can create up to 32,767 Generators in an InterBase database, but typically you would create one for the database or create and name one for use per table.

FireDAC Query UpdateOptions AutoInc

Part of the FireDAC framework is the ability to treat database fields as Auto-Incremental Fields. For Databases that do not have an AutoIncremental field data type, you can set the UpdateOptions properties to define the Generator and key fields.

Continue reading Auto Inc Fields in RAD Server with InterBase

Open Innovation, RAD Server and Enterprise Connectors

The sheer volume of data that is collected has exploded in recent years thanks to digitalization and modern cloud architectures that support massive data collection, and encourage widespread cross-sharing of data.

The growth trend of having applications with easily accessible API’s, provide a rich base for rapidly adding functionality, and choice of functionality to new applications, based on existing software that is already being widely used. – Enabling a customer to expand their existing systems easily through the choice of software is a real example of Open Innovation. This approach makes it easier to get your software adopted into a customer’s existing business capabilities.

Continue reading Open Innovation, RAD Server and Enterprise Connectors

Developer Direct – IDE Special – 8th April

David, Marco, and I are back again on Wednesday 8th at 11am BST / 12pm CEST to talk about Development within the RAD Studio IDE.

After the previous session talking about working from home under Covid19, we asked for input on what you wanted to discuss. From the ideas submitted, we picked a discussion around the IDE.

We aim to share top tips and tricks, and also, as David is the Senior Product Manager responsible for RAD Studio IDE, (along with Visual Assist, – the Visual Studio plugin from Whole Tomato for C++ and C#), we should get some great insight to the background around a number of recent changes, and what to expect moving forward too!

Download the Calendar Invite

If you have issues with the Calendar invite, use this link for the live event. https://global.gotomeeting.com/join/663397045 

Developing from home

Working from home – webinar replay

As software developers, on the whole, it’s relatively simple to switch to working from home, and many of us work from home regularly, or all the time. However, with a quarter of the world’s population already in lockdown, the circumstances are not exactly the same as your typical week at work. 

With a majority of workers now trying to work from home, the daily mix of office news, banter, and general togetherness has been dramatically changed. 

Continue reading Developing from home