Pay attention with Windows 10 SDK Installer when Upgrading 10 Seattle After upgrading RAD Studio 10 Seattle or C++ Builder 10 Seattle to Update 1, the Windows 10 SDK installer may be launched with just one option: Remove the Windows SDK product entirely.   Please do not remove the Microsoft Windows 10 SDK from your system, as it could remove a couple of necessary files for some C++ projects. We will provide further information soon.   Thanks...
Windows and beyond. Connecting a Windows application with an Android service I’ve always loved developing Windows applications using Delphi and RAD Studio. But it’s getting ever more exciting with the latest releases as it's possible to go beyond Windows and create a new ecosystem that includes the capabilities of the mobile apps, IoT devices, etc... RAD Studio 10 Seattle brought the Android services feature, and since the very first day I’ve been thinking about connecting a Windows application with an Android service. This offers a lot of possibilities, like notifying ...

Posted by on in Tools
JEDI libraries now in GetIt Package Manager Hello. I'm very pleased to announce that the popular JEDI libraries are now available in the GetIt Package Manager catalog.      For those who don't know these libraries, the JEDI Code Library (JCL) consists of a set of thoroughly tested and fully documented utility functions and non-visual classes which can be instantly reused in your Delphi and C++ Builder projects, while JVCL is a library of over 600 Delphi visual and non-visual Delphi/C++Builder components.  So ...

Posted by on in UI
New per-DPI awareness in VCL applications In RAD Studio 10 Seattle, we've added per-DPI awareness in the VCL. This means that, when moving a form from one monitor to another one that has different DPI, the VCL form and the controls will be rescaled according to the new DPI, with no specific coding needed (video included below).As a testing scenario, and for this demos: we've setup 3 monitors that have different DPIs: After that, we ran a sample VCL application and the Visual Studio DPI Awareness Tutorial application side by side. No co...
Download an image in background with Android Services Included in RAD Studio 10 Seattle is a new feature called “Android Services” that allows an Android application to perform background tasks. Jim McKeeth has created a fantastic post to help you get started with Android Services that I highly recommend having a look at: http://delphi.org/2015/09/minimalistic-android-service-with-delphi-10-seattle/ We’ve prepared a simple demo that will launch a service to download an image from a given URL, and send a notification once the download is completed.  To compile the source included for this demo, please follow these steps: Compile the service Add the Android Service to the main application by right-clicking the Android platform. This will launch the “Add new Android service” demo. Select the Android Service base path Check that everything is correct and click Finish to complete the process of adding a new Android service. Delete DownloadServiceUnit.pas from the DownloadImage project. After that, everything is ready to compile and deploy to your device.   Below you see a video showing this demo in action. In this video, I am initiating an image download, but then close the application. In that case, the background service continues to download the image in the background even though the application that originally made the request to download the image is no longer running. As you can see in the end, a notification is shown indicating that the image download has been completed successfully.  Download_Image_Service_demo   Source code: DownloadImageServiceDemo  
Setting up Windows 10 before installing RAD Studio One of the prerequisites for RAD Studio is the Microsoft .NET Framework 3.5, but there is no Windows 10 .NET 3.5 installer to add this feature to the system. So I'm going to describe the few steps necessary to get .NET 3.5 into Windows 10 before installing RAD Studio. 1) Open the Control Panel and choose Programs and Features, or search for Programs and Features using Cortana   2) Choose Turn Windows features on or off   3) Enable .NET Framework 3.5 and click OK   &...
Version control: Get started with Git, remote repositories and RAD Studio XE8 In one of the latest surveys among RAD Studio developers, we realized that there is still a significant part of the community that doesn’t use any version control system, a surprising 32%. There are many reasons to use a version control system, no matter if you're a single developer working in a small project or if you're a large team working in a big one. So, if you still haven't started using a version control system, why don't give it a try and take profit on the enhancements added in RAD St...
Using AppAnalytics to get usage information from your application AppAnalytics is one of the brand new features included in RAD Studio XE8. Enabling AppAnalytics in your application will help you to understand how it's being used by your customers, in what OS versions, crashed sessions, and many other types of valuable information.     To get started you need to sign in the appanalytics server (http://appanalytics.embarcadero.com/) using your EDN account. Once you're in, you can add your first application. After that, an Application ID will be generated. This is very important, as it is the ID that must be used in the TAppAnalytics component in your application.     Now it's time to add a TAppAnalytics component in the VCL or Multi-Device application. In my case, I've put it in a DataModule, to easily access it from different forms of my application.  And there's no need to do anything else to start gathering usage statics for the application. Here is an example: This information is available for all registered users.   If you upgrade your registered account to a paid one (contact the sales department here for that), you will get a lot more really useful information. As I've mentioned before, there's a section for the Crashed Sessions:   In the Flow Forms graphic, it's shown the "connections" between the forms in our application, and what "paths" are being more frequently used by our customers. For example, in the next image, it's possible to see that the Send e-mail form is shown most frequently from the Customers window, so I'd review that the usability of that process is fine, and also check that there are no usability issues when trying to use the functionality from other parts of the application.   With Custom Events you can also fine tune what you need to track. In my case I wanted to know what reports were used most, and which ones were barely used. To do this, I only had to call the TrackEvent method before showing a report, for example:  dm1.AppAnalytics1.TrackEvent('Reports', ReportName);  Looking at the sample results, I can see that the Report01 and Report02 are being used by my customers, but Report03 is rarely used.   And the final tab is the Advanced Data Analysis. I'm including an screenshot to show a preview of the data gathered:  
  • Page :
  • 1

Check out more tips and tricks in this development video: