Delphi

You can easily location enable your Delphi VCL Windows apps

Author: Michael Gillen Sensor support was originally added to Delphi a year ago. The sensor APIs are defined in the System.Sensors unit name scope and can be use in your Windows VCL and FM apps. This blog post will show you how you can easily location enable your Delphi VCL Windows applications. You’ll need a GPS device for your Windows computer (some of the recent Intel based…
Read more
Delphi

Creating an Overflow Menu on Android

During my CodeRage 8 session I talked about creating an Action Bar with an Overflow menu, so I wanted to provide some step-by-step instructions. On Android, an Action Bar is atop(or top and bottomaligned) toolbar that is segmented into…
Delphi

How to load custom styles at runtime

During my session at CodeRage, I briefly talked about how to load custom styles at runtime. I wanted to elaborate on this topic and provide some detailed steps. In this example, we are creating a mobile app for iOS and Android that uses the ‘Jet’ Premium Style.I added both styles via the resources dialog in the IDE and used the TStyleManager.LoadFromResource method to load either…
Read more
Delphi

Playing Audio Clips on Android

I have been working with our R&D team on the samples and snippets for RAD Studio XE5. Our mobile snippets are designed to showcase key functionality with just a couple of lines of code. Today I thought I would highlight our AudioPlayBack snippet. This snippet consists of the following 4 components: TToolbar 2 TSpeedButtons parented to the toolbar TMediaPlayer The toolbar Align property…
Read more
Delphi

New "TOSVersion" type in Delphi XE2

Author: Tóth Erik Delphi XE2 is probably the most significant release since Delphi 1. The number of new features is amazing and probably the biggest, most important one is FireMonkey – a brand new business application development platform that let you use Delphi or C++ to write applications that natively run on Windows and Mac OS. If you are writing an application that is designed to…
Read more