Posts in Embarcadero

Parallel (mis)Adventures

August 18th, 2017 Posted by Embarcadero 4 comments

In one of our customer projects, we had an Android app that was receiving broadcasts on a background thread (I’ll call this the Receiver thread). On receipt of a message, the Receiver thread needed to do some processing on that message and then update the main thread (the UI thread).

The initial solution to this was pretty simple, call TThread.Synchronize from the Receiver thread, passing in an anonymous method that updates the UI Thread.

Testing this on Windows worked fine, however running it on Android revealed a problem. (more…)

Changing your RAD Studio Serial without Reinstalling

August 11th, 2017 Posted by Embarcadero No Comment yet

It was only today that I got around to updating the VM I use for demos to RAD Studio 10.2.1. Unlike the VM’s I use for customer projects, this one is using my MVP License. I installed 10.2.1 no problems, but upon running I got the following error message:

An Update Subscription for Embarcadero Delphi 10.2 is required which has expired prior to this release

 

After a moment of confusion, I realised I might have used my old Berlin MVP license during the install, so the error message is probably correct.

This is easy enough to fix, but I’ve had a few customers ask me about this so I thought I’d grab some screenshots and write up how to replace serials in a RAD Studio install.

(more…)

RAD Studio 10.2.1 Released

August 9th, 2017 Posted by Embarcadero, News No Comment yet

Embarcadero have released an update to 10.2 Tokyo today. The official details are here, but it includes:

  • Linux performance improvements
  • Windows 10 Creator support in both Delphi and C++Builder
  • Support for the latest iOS and XCode
  • FireDAC Driver database support updates for MS SQL, Interbase and others
  • Further Android architectural improvements
  • Plus more than 140 customer-reported bug fixes.

There is a full list of new features and fixes here.

Links for the ISO download are here, and the Web Installer is here. Note that with the recent changes to how the Web Installer works, I actually find it a faster total install. Remember to retain your component settings when uninstalling 10.2, or use the Settings Migration Tool to export them and import them into 10.2.1

Personally, I’ve been using 10.2.1 for the Android changes over the last few days and I can tell you the experience is much improved, both for Android and in general. Definitely worth the install.

Embarcadero Enterprise Connector for Salesforce : First Impressions

August 1st, 2017 Posted by Embarcadero 1 comment

You might have seen the recent Beta announcement from Embarcadero for the Enterprise Connectors. I’ve been doing some work with a few of them lately, so wanted to give you an overview of my experiences, starting with the Salesforce driver.

If you’re not aware, the Enterprise Conenctors are a whole bunch of FireDAC drivers that allow you to interact with a wide range of backend systems as if they were relational databases. There are more than 80 systems supported, including Salesforce, Xero, QuickBooks, Magento, ServiceNow amongst others. The theory is that given most RAD Studio developers are very comfortable interacting with a database,  if you can make something look like a database, it should be easier to use.

Nice theory, but I was keen to see how well it worked. I’ve done a fair bit of development with Salesforce, including using the API, so I figured I’d try that driver out first.

A few things to note:

  • The Enterprise Connectors work with 10.2 Tokyo.
  • The beta versions of all the drivers are available in GetIt, so you can try them out really easily.
  • They are FireDAC drivers, but they work happily with FireDAC in Professional (despite the Enterprise Connectors name)

First up, connecting to salesforce is very easy. You have a bunch of options for how you connect (see the documentation here) but I went with the simple username, password and Security Token option. These are all available as parameters in the FireDAC Connection wizard, as well as properties in the component. (more…)

Logging in Android

July 6th, 2017 Posted by Embarcadero, Mobile 4 comments

RAD Studio’s ability to do remote debugging of Android apps on device is fantastic for tracking down issues. However sometimes you have issues where the debugger can’t help. Case in point is one of the projects we were doing for a customer recently. The Android portion included a Service, which needed to be auto-started when the Android device booted. It worked fine if it was started manually, but auto-starting at boot resulted in a  crash. We couldn’t use the RAD Studio debugger as it was all over so quickly at boot time. Fortunately we were already logging messages out to the Android logs from within our app, so we were able to track down the problem. How?

Let’s go through the two necessary pieces:

  • Logging a Message
  • Viewing the Android log

(more…)

Hey RAD Studio 10.2 Tokyo, where’s my adb.exe?

June 28th, 2017 Posted by Embarcadero, Mobile No Comment yet

The RAD Studio installer has been significantly improved over recent releases. One of the newer features is the ability to quickly add and remove Supported Platforms to your installation from within the IDE (see the Tools | Manage Platforms menu in the IDE). The same utility also lets you install other items, like bundled 3rd party tools, other language support and also the Android SDK.

 

However, if you do all of those things, you might be a little puzzled as to why it looks like the Android SDK Tools have not been installed. For example, if you go looking for adb.exe you won’t find it. Search the whole hard drive, it’s just not there. (more…)

Code Partners’ Embarcadero End Of Financial Year Sale

June 14th, 2017 Posted by Embarcadero, News, Offers No Comment yet

The Australian Financial Year ends in a couple of weeks, so Code Partners, in conjunction with Embarcadero, are offering an additional incentive for upgraders and new license buyers.

Take advantage of the existing “Buy One, Get One Free” offer, but in addition, get a further 10% off (conditions apply, see below).

Get Your $20,000 Instant Asset Write-off

Note, you don’t need to be in Australia to get the extra 10% off, but if you are, it might also be worth having a chat to your Accountant. The Australian Government has introduced Simplified Depreciation rules for some businesses. If you qualify, you may be able to deduct the full cost of your purchase during this financial year. More details here and of course, confirm your eligibility with your Accountant or Tax Adviser before going ahead (we’re Developers, not Tax Specialists, after all, and I have heard a rumour that Malcolm took two attempts to pass his mandatory Accounting subject at University)

(more…)

Pragmatic MVVM at DAPUG Workshop in Denmark

March 28th, 2017 Posted by Embarcadero, Events, News No Comment yet

I’m really looking forward to presenting a two day workshop on MVVM in RAD Studio for DAPUG in Denmark next month.

The MVVM sessions I’ve done in the past have all been around 45 minutes long, which is barely enough time to scratch the surface. Two full days will give us plenty of time to get right down into the details of how to build maintainable, testable applications without throwing away all the productivity of RAD.

We’ll build an MVVM application from scratch over several “sprints”, each one focussed on a different area of functionality, and along the way we’ll go deep on issues like LiveBindings, Persistence, Messaging, and more. After two days you should come away feeling very equipped to apply MVVM in your own code.

Full details and registration form is available here.

 

RAD Studio 10.2 Tokyo ISO’s and other downloads

March 23rd, 2017 Posted by Embarcadero No Comment yet

As Marco has just outlined in a post on his blog, RAD Studio 10.2 Tokyo has been released. We’ve just finished the Sydney and Melbourne events and the reception, especially around 64 bit Linux support and RAD Server has been very good.

The new web installer, which I have found over the last few versions to be the fastest way to install is available here. However, I know many people like to also have a copy of the ISO available as a backup. The ISO’s have now been uploaded to codecentral and are available for registered user’s to download as well. In addition, there are downloads for various additional tools that have been updated for Tokyo.

(more…)

RAD Studio 10.2 Tokyo Preview event in Australia

March 9th, 2017 Posted by Embarcadero, Events, News 2 comments

Come and be amongst the first to see Delphi for Linux in Australia, when we hold the RAD Studio 10.2 Tokyo Preview events in Sydney, Melbourne and online.

There are more details over on the registration page, but the first half will be non-Linux topics, like deploying to the Windows 10 App Store, while the second half we’ll drill into developing, debugging and deploying web apps and middle tier services to Linux.

In addition, we’ve organised to have some giveaways of Arduino Nano + NodeMCU IOT Kits in each city. These are the same kits used in the recent IoT Boot Camp, including a bunch of sensors and everything else you need to follow along with the replays and start experimenting with connecting RAD Studio apps to IoT hardware.

Spaces are limited in both cities, so please register quickly. If you can’t make it to the events, we’ll also be streaming the Sydney event online, so register for the Online event and we’ll send out the login details closer to the day.

Looking forward to seeing you there.