Posts Tagged ‘Embarcadero’

Where to get your IBLite and InterBase ToGo License Files?

I’ve had a couple of questions lately about where to get the free IBLite Deployment License and also the InterBase ToGo testing licenses that you are entitled to as RAD Studio XE5 customers.

The details are actually in the email you received when you bought XE5, the one that contained your XE5 serial number. However I know in some cases that email goes to the finance or purchasing department in an organisation, rather than the develoeprs. Further, if you are on maintenance, you don’t actually get that email. Read On…

Sneak Peek: Delphi, Android, ARM Assembler and Extra Awesomeness

Less than two years ago, Delphi was a windows-only development tool.

Think about that for a second. In less than 24 months, we’ve added native OSX support and native iOS support, with native Android support currently in beta.

Now, I’m as guilty as anyone of being impatient about features and fixes, but when I step back and view it like that, it’s an amazing change in just two years. This Engineering team astonishes me sometimes. Read On…

Programatically Disable the Idle Timer on iOS using the ObjectiveC Bridge

If you’ve got an iOS device, you’ve probably noticed that if you stop interacting with your device, after a little while it will turn off the screen and go to sleep. This makes perfect sense for devices that are battery challenged at the best of times, but one side effect of this is that whatever app is running will also stop.

For many apps, this is fine, but what if you don’t want your app to stop running? What if, like one project I’m working on currently, it is accepting input from the accelerometer and just because nobody is interacting with it right now, I still want it to record that accelerometer input? Read On…

Using the FM Messaging System for In-process Publish and Subscribe on Windows, OSX and iOS.

For quite awhile I’ve been using a messaging bus within my apps to de-couple different sub-systems from each other. I use this heavily in my MVVM-based apps to minimise the dependencies between my Views and ViewModels, but it applies to non-MVVM apps of reasonable complexity as well. Read On…

Where to see RAD Studio XE4 in the coming weeks

Things have been hectic since the XE4 launch. We’ve had in-person events in lots of countries around Asia. I’ve done Japan, South Korea and Taiwan, but they’ve also been happening in Australia (with ADUG) and China, and we’ve had lots of webinars as well.

What has been really encouraging is the number of new people at the events. I’ve spoken to Xcode developers, Visual Studio developers and Java developers across multiple countries who are all trying out Delphi for the first time. Read On…

A Facebook-style layout for your mobile app

I’ve been working on a ShowCase App for the Delphi XE4 release, and as part of it I wanted to have a “drawer” layout. I first saw this in the iOS and Android Facebook app, but it has shown up in other apps since.

If you’re not familiar with this, it is where your main content takes up the bulk of the screen, except for a toolbar at the top. The toolbar has a “hamburger” button that slides the main content area over to the right to expose a second content area (often a menu) underneath. Read On…

LiveBindings in XE3: TPrototypeBindSource and Custom Generators

In the last post I looked at formatting the data we’re binding to our UI. This post is related, but it might take a little while to see how.

Back when I wrote about TAdapterBindSource, one of the adapters I used was a TDataGeneratorAdapter. This combination was useful to give me both a) design-time fields from which to visually bind in the LiveBindings Designer and b) design-time data in those fields to help layout my UI more easily. Read On…

LiveBindings in XE3: Formatting your Fields

I want to dig a little into the formatting support in LiveBindings. How can we control how our data is displayed when we bind it to UI elements?

If we go back to the traditional data binding support in VCL, different TField descendants exposed different formatting properties. For example,¬†TNumericField exposes a DisplayFormat property¬†where you can specify a format string to be used when displaying the contents. TField also exposes an OnGetText event where you can do whatever you like to the value before it is displayed in the UI. Read On…