Delphi

Using the new REST Client library components to connect to Web & Cloud services (Part 2)

Author: Al M1426 This REST BaaS (Backend as a Service) client tutorial shows how to use the Embarcadero REST Library for accessing REST-based web services (REST stands for Representational State Transfer). The library is available for all platforms that are supported by Delphi. The REST Library framework focuses on JSON as the representation format. XML is not explicitly supported. In Part 1, we…
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