One of the new features for the VCL XE6 is a availability of components for sensors.
Now, opening the Tool Palette in VCL project, you will see three new components on the Sensors tab. You may have already used them in your FM applications, then you can begin to use them and VCL. No changes, only one restriction - VCL applications only for windows. If you have a Windows tablet with sensors you can try to make your application more user-friendly and comfortable.
posted @ Thu, 17 Apr 2014 11:27:25 +0000 by nikolay
Одна из новых возможностей для VCL в XE6 это наличие компонентов для работы с датчиками.
Сейчас, открыв Tool Palette в VCL проекте Вы увидите три новых компонента на вкладке Sensors. Возможно Вы уже использовали их в Ваших FM приложениях, тогда Вы можете начать их использовать и в VCL. Никаких изменений, только одно ограничение – VCL приложения только для windows. Если у Вас есть Windows планшет с датчиками Вы можете попытаться сделать Ваши приложения более дружественными и удобными.
posted @ Thu, 17 Apr 2014 10:46:12 +0000 by nikolay
posted @ Thu, 17 Apr 2014 10:19:05 +0000 by nikolay
posted @ Thu, 17 Apr 2014 09:18:35 +0000 by nikolay
posted @ Thu, 17 Apr 2014 00:00:00 +0000 by Tim Del Chiaro
In RAD Studio XE6, we introduced support for remote push notifications with our BaaS (Backend as a Service) integration. We include components for Kinvey and Parse, two popular BaaS providers, right out of the box.
In this tutorial, I am going to show you how to setup and enable push notifications in your C++ and Delphi applications using XE6. The Delphi or C++ code is the same across iOS and Android, but the steps for setting up notifications are different on Android than on iOS, since you are connecting with Google Cloud Messaging (GCM) on Android and with Apple Push Notification (APN) on iOS.
In order to receive push notifications, you need to set up the messaging service (APS or GCM), the device, the cloud service (Kinvey or Parse), and your RAD studio application. We have a great step-by-step tutorial on our docwiki that I recommend you look at since it walks you through all the steps.
My demo consists of a single form with a top aligned Toolbar and Label (to indicate the application name), and a client aligned ListView. The ListView will display each notification as a new item in the list. When the app is running in the background or is closed, you will see the notification displayed in the notification center on your device. On Android, you can access the notification center by swiping down from the top of your screen.
On my form, I placed 2 components:
- TPushEvent, connected to my KinveyProvider component, with the following event setup:
void __fastcall TForm3::PushEvents1PushReceived(TObject *Sender, const TPushData *AData)
ListView1->Items->Add()->Text = AData->Message;
procedure TForm1.PushEvents1PushReceived(Sender: TObject; const AData: TPushData); begin ListView1.Items.Add.Text = AData.Message; end;
Next, you will need to setup the Messaging service. Please see this tutorial on how to register with Google and setup your push notification project. As part of that setup, you will be assigned a Project Number that you will need to enter on your Kinvey component, along with your Kinvey account info that you were provided when you signed up on Kinvey.com and setup the project.
BaaS uses OpenSSL, but for Android, those files already exist on the file system, so you don’t need to add or link in any ssl library files. To send push notifications, you will need to login to your Kinvey.com account, go to Addons > Messaging > Push and connect your Kinvey account to your Google Cloud Messaging account:
- the Project ID from your Google Cloud Messaging Setup
- the API Key from your Google Cloud Messaging Setup
posted @ Wed, 16 Apr 2014 21:09:36 +0000 by sarinadupont
I’m so excited with the release of the latest version of RAD Studio, Delphi and C++Builder!
RAD Studio XE6 contains Delphi XE6 and C++Builder XE6 and marks the completion of the vision to support building apps for all major desktop (Windows, Mac) and mobile (Android, iOS) operating systems from the same codebase: C++ and Object Pascal!
The new IDE has a new look-and-feel, it is a lot faster and has tons of new and improved features for both desktop VCL Windows and multi-platform FireMonkey programmers!
If you cannot make it for today for the online webinar, make sure to register for bi-weekly Developer Direct webinars where we are going to explore new XE6 features in depth or come to one of the many live events across the globe to see the new RAD Studio XE6 in action LIVE!
posted @ Wed, 16 Apr 2014 08:48:18 +0000 by Pawel Glowacki
posted @ Wed, 16 Apr 2014 08:07:37 +0000 by Jim McKeeth
Whether you're developing Windows VCL applications or multi-device and mobile applications with FireMonkey, and whether you're doing it with Delphi Object Pascal or C++ you'll find that there is a lot to love in XE6.
Last chance to register for the webinar
There are three sessions throughout the day so you can sign up for the time that works best for you. Or if you can't make it to a live session, sign up anyway and we'll send you a link to watch the replay.
posted @ Wed, 16 Apr 2014 00:00:00 +0000 by Tim Del Chiaro
In the RAD Studio XE6 release, we introduced tethering components for VCL and FireMonkey. Tethering functionality extends your existing VCL or FireMonkey Windows applications to mobile without having to port your whole Windows application. This allows you to pick the features that make sense on mobile and easily interact with your existing Windows applications.
In XE6, we include tethering demos for both C++ and Delphi. They can be found under:
- C:\Users\Public\Documents\Embarcadero\Studio\14.0\Samples\CPP\RTL\Tethering (C++)
- C:\Users\Public\Documents\Embarcadero\Studio\14.0\Samples\Object Pascal\RTL\Tethering (Delphi)
The latest demos can also be accessed on SourceForge.
Below is a quick summary of our tethering functionality:
- Connect your desktop (VCL and FMX) applications and mobile apps
- Create mobile companion apps for your VCL applications
- Works via Wi-Fi and on your local network. Future versions will support Bluetooth.
posted @ Wed, 16 Apr 2014 00:40:51 +0000 by sarinadupont