Delphi

Changing FireMonkey style at runtime

Author: Pawe Gowacki Last month Sarina DuPont blogged about loading custom FireMonkey styles on a mobile device at runtime (“How to load custom styles at runtime“). That’s a very interesting approach to compile a custom style as a resource into the mobile app. This week there was another blog post by David I about the availability of the new great looking mobile FireMonkey…
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

Are you asking about app size? (by Delphi for Android)

Author: Vsevolod L1433 You’re asking about app size? Not a news. Since Delphi 1 people’re asking “why Windows calculator is 33 kb, while Delphi version of the same exe is 300 kb”? Then and now it’s a question not about technology. Are you asking about the technology? Technology is so, that some additional megabytes give you cross-platform development tools, and…
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…
Delphi

Opening a file with the default program on Windows and Mac

I’ve been using the windows API call ShellExec for years to pass in the file name of a file I want to launch programatically with the default application on Windows; but I am now creating an application for use on Windows and Mac with FireMonkey for the upcoming season of Developer Direct LIVE Mobile Summer School (starting Tuesday 16th July) and I need to implement the same functionality on…
Read more