Watch, Follow, &
Connect with Us

Embarcadero Blogs

Latest Posts


New XE7 Android Features Skill Sprint

XE7 is full of new features everywhere, but there are some really nice ones specific to Android. Here is a replay of my Skill Sprint session on New Android Features. The new Android specific features in XE7 include: Google Mobile …

Read more »


posted @ Wed, 01 Oct 2014 11:41:32 +0000 by Jim McKeeth


Video: Delphi and RAD Studio XE7 - the new Parallel Programming Library

This short video introduces the new Parallel Programming Library that is included in Delphi, C++Builder and RAD Studio XE7. You can use this runtime library in your VCL, FireMonkey and other application targets.



Learn more about Delphi XE7  |  Download Delphi XE7  |  Special Offers

posted @ Wed, 01 Oct 2014 08:00:00 +0000 by Tim Del Chiaro


RAD Studio XE7: What Developers are Saying

This is a copy of a recent North America email for RAD Studio XE7. Sharing some of the great feedback so far about the new XE7 versions of RAD Studio, Delphi and C++Builder along with a reminder about the special offers ending September 30th.

Embarcadero
RAD Studio XE7: What Developers are Saying
XE7 is more responsive, more stable. I've been using Delphi for 15 years and still in love with it. That tells it all.
Karim Kouni - Senior Petroleum Engineer
FireUI is like heaven! XE7 users will be lightyears ahead of other developers.
Erik Bellaard - Developer - *WEGA Automatisering VOF, NL
My company has every version of RAD Studio, and we are definitely happiest with XE7.
Gerhard Stoltz - U-RAD Technologies
The new features for multi devices are amazing. With XE7 I really have one code for multiple platforms, simple and fast.
Rogério Lagares Xavier - Senior Analyst - Banco Público Federal
And this is just a handful! There are lots more.

As a software developer, you should know developers and press are talking about XE7's amazing new Delphi and C++ features for VCL and multi-device development. XE7 is building on the momentum of RAD Studio's biggest first half year ever which introduced Android support, Cloud Backend Services (BAAS) and Mobile App Tethering.

Now there's even more with XE7…
Multi-core Parallel and 64-bit development, Bluetooth support, FireUI, EMS, VCL Taskbar and Jumplists, FireDAC with BDE style access, and exciting, new Delphi language features - as well as many more quality and performance enhancements throughout.

Both lightning fast and high quality, XE7 is looking to be "the" must have release for all developers. Check out what other developers are saying…
** STOP PRESS ** 
The FREE Bonus Pack now includes Castalia, the premier code productivity plug-in for Delphi and FastCube VCL 2 – a more than $500 value FREE! http://www.embarcadero.com/radoffer

posted @ Mon, 29 Sep 2014 07:30:00 +0000 by Tim Del Chiaro


PAServer HotFix for Delphi XE7 and RAD Studio XE7 to support iOS 7.1 simulator in XCode 6

PAServer HotFix 09/26/2014 Hotfix for deploying iOS applications built with Delphi XE7 to the iOS 7.1 simulator With Delphi, C++Builder and RAD Studio XE7, we support deploying applications to iOS devices running both iOS 7 and iOS 8 out of the box. For deploying to the iOS Simulator with Delphi XE7, we currently support deploying to the iOS 7.1 simulator, and are actively working on enabling support for the iOS 8 simulator. If you checked the Mac preferences setting to automatically download and install new versions of your Mac applications in the background, then Xcode automatically updated to the newest version (6.0.1) on your Mac, assuming you previously had Xcode installed on your machine.

Download the hotfix at http://cc.embarcadero.com/item/30008


posted @ Sat, 27 Sep 2014 17:47:39 +0000 by David Intersimone


Video: What's New in Delphi XE7

See what's new in Delphi XE7 for rapidly building highly connected apps for Windows, Mac, iOS, Android, gadgets, and wearables.

Learn more about Delphi XE7  |  Download Delphi XE7  |  Special Offers





posted @ Sat, 27 Sep 2014 08:00:00 +0000 by Tim Del Chiaro


Modernize Your VCL Applications with RAD Studio and Delphi XE7

Below is some new info from the Embarcadero web site for VCL developers with info on why you will want to use RAD Studio XE7, Delphi XE7 and C++Builder XE7 to modernize your VCL apps.

If you haven't tried the new version yet, click here for a free trial:


With Windows XP at end-of-life, Windows 7 and 8.1 represent the lion's share of supported Windows desktop installations. It's the perfect time to modernize VCL applications and take advantage of new features and styles in Windows 7 and 8.1. RAD Studio XE7 delivers the features you need to modernize your applications including taskbar and jumplist components, Windows 7 and 8.1 Modern UI styles, and Surface Pro tablet support including VCL sensor components.
Modernize VCL Apps

Windows 7 and 8.1 Platform Styles

Windows 7 and Windows 8.1 add some fresh UI elements for Windows users. With Windows 8, Windows applications took on a new look a feel with Modern UI (formerly Metro UI). RAD Studio XE7 lets you style or update an existing VCL application to take on this new look and feel. Windows 8 Modern UI Style can even be used on a Windows 7 desktop with VCL Styles.
Modernize VCL Apps

Give your apps a Windows 7, 8.1 or custom look with new VCL Styles

Use VCL Styles to apply a custom or Windows 7 or 8.1 look and feel to your applications. Styles are applied to your existing components and UI elements so it's easy to get a new look without swapping out components. Choose from the included, professionally designed styles or use the Style Designer to customize or create your own. Styles are now applied to the Windows border and menus plus brand new custom styles are included in RAD Studio XE7.
Modrenize VCL Apps

Taskbar Controls and Previews

Windows 7 introduced taskbar previews and other UI elements for interacting with your application from the taskbar. In addition to previews and selection of open windows for each app, add the new navigation user experience with jump lists. Easily add these taskbar controls to interact with your application with easy to use an integrate VCL controls.
Modernize VCL Apps

Tablet Sensors

Windows based tablets like Samsung Slate and Microsoft Surface Pro 3 are fully enabled Intel devices with Windows 8. These tablet form factors enable new form factors and sensors to the developer and end user. From location (GPS) to motion sensors such as Orientation and Motion, add new ways for users to interact with your VCL application on a Windows based tablets.
Modernize VCL Apps

Expand your Reach with Bluetooth

Use the native Bluetooth support in XE7 to let your Windows applications interact with external devices and sensor. And for your customers on Windows 8, the new BluetoothLE component is ready for use in new and existing VCL applications.
Moderinze VCL Apps

Fast Code Faster with Parallel Programming

Enhance your applications by leveraging multi-threading and multi-core CPUs easily, thanks to the new Parallel Programming library of XE7. With parallel for loops, tasks and futures, threading has never been easier and your code has never been faster.


posted @ Fri, 26 Sep 2014 08:00:00 +0000 by Tim Del Chiaro


XE7 customers - Java2OP.exe is now available on Code Central reg user download area….

The Delphi, C++Builder and RAD Studio XE7 Java2OP command line utility is ready for registgered users to download. Java2OP.exe ("Java To Object Pascal") is a command-line tool that you can use to generate Object Pascal native bridge files from Java libraries (JAR or class files). You can use the generated files to provide your applications access to those Java libraries on Android. Available to registered users of RAD Studio XE7, Delphi XE7 and C++Builder XE7 (except Starter editions) and Embarcadero All-Access XE. You can find it (login required) at http://cc.embarcadero.com/item/30007

Java2OP.exe: New Native Bridge File Generator for Android

The process of allowing your application to use custom Java libraries on Android previously required you to manually create a native bridge file from a Java class file.

RAD Studio provides a new tool, Java2OP.exe (Java to Object Pascal), that automates the creation of a native bridge file for Delphi applications. This new tool allows you to generate a native bridge file from a set of JAR or Java class files, or from a specific subset of the Android API.


posted @ Fri, 26 Sep 2014 01:31:01 +0000 by David Intersimone


FireUI Multi-Device Designer and working with Views

In RAD Studio XE7, we introduced the FireUI Multi-Device Designer. FireUI makes it easy to create user interfaces across multiple devices using a master form to share all user interface code, and then optimize inherited views for each target platform and device.

Delphi, C++Builder and RAD Studio XE7 provide a set of predefined views, including Windows Desktop, Surface Pro Tablet, Mac Desktop, iPhone, iPad, and several Android Phone, Tablet and Google Glass optimized views.

Views are a mechanism that allows you to define a different layout and components for the forms of your application depending on the device where your application is running.

New forms contain a single view: the Master view. The Master view is the view that your application loads if your application does not contain any other view fit for the device where your application is running. You can add more views to your application if you want to provide a different view on a specific kind of device. These additional views are customized versions of the Master view for a given device or a type of device that inherit all the components and modifications from the Master view.

In many cases, you will define most of your code on the master view. However, you may want to change an existing event for a specific platform or device. In that case, you can access the existing event handler and change the name of the event.

unit Unit20;

interface

uses
  System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
  FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls;

type
  TForm20 = class(TForm)
    Button1: TButton;
    procedure Button1Click(Sender: TObject);
    procedure Button1Click_iOS(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form20: TForm20;

implementation

{$R *.fmx}
{$R *.iPhone4in.fmx IOS}

procedure TForm20.Button1Click(Sender: TObject);
begin
  ShowMessage('Button clicked'); // event defined in master view
end;

procedure TForm20.Button1Click_iOS(Sender: TObject);
begin
  ShowMessage('iOS Button clicked'); //event redefined in iPhone view
end;

end.

You can also create and add new views to the View Selector in the Form Designer if the available views do not cover the specifications of your target device. Usually, that is not necessary, but if you want to fine-tune the layout for a specific device (i.e. your company has standardized on Nexus 5), creating a custom view will allow you to further customize your UI. This is also a great way to add views for new wearable form factors such as various watches that you may want to target, like the Moto 360, which Jim McKeeth recently covered.

http://delphi.org/wp-content/uploads/2014/09/HelloMoto360-IDE.png

In this blog post, I am going to cover the steps to add a Nexus 5 specific view with the associated design time and runtime support. You can also find detailed instructions on how to add a custom view by clicking here.

Step 1: Create a new package

  • Select File > New > Package - Delphi or C++Builder.
  • In the Project Manager, right-click the <project_name.bpl>.
  • Select Add New > Unit.

Add the following code to the unit:

unit MyNexus5;

interface

implementation

uses

  system.Devices, system.Types, system.SysUtils;

const
  ViewName = 'MyNexus5CustomView'; // The name of the view.

initialization

  TDeviceinfo.AddDevice(TDeviceinfo.TDeviceClass.Phone, ViewName,
    TSize.Create(1920, 1080), TSize.Create(1920 div 2, 1080 div 2), // MinPhysicalSize(max, min), MinLogicalSize(max, min)
    TSize.Create(1920, 1080), TSize.Create(1920 div 2, 1080 div 2), // MaxPhysicalSize(max,min), MaxLogicalSize(max,min)
    TOSVersion.TPlatform.pfAndroid, 445);
//Select the platform and the pixel density. If you are targeting a specific form factor only, you can use
//matching numbers for the min and max physical size instead of providing a range
finalization TDeviceinfo.RemoveDevice(ViewName); // To unregister the view after unistalling the package. 

end.

b2ap3_thumbnail_dimensions.png

Measurements taken in landscape format

b2ap3_thumbnail_nexus5.PNG

To get the resolution and pixel density for the Nexus 5, I just did a quick Google search online.

customview1.jpg

Step 2: Install the new package

  • Before installing the package close any open project on the Designer.
  • In the Project Manager, right-click the <project_name.bpl>
  • Click Install
  • An Information message appears informing you that the package has been installed.

Step 3: Update the MobileDevices.xml to add a custom device skin

b2ap3_thumbnail_topmeasurements.png

You can find the MobileDevices.xml file by going to Go to C:\Users\<username>\AppData\Roaming\Embarcadero\BDS\15.0.

I created two Nexus 5 device skins. One for portrait orientation and one for landscape orientation. Both of the pngs get referenced in my custom mobile device definition below.

b2ap3_thumbnail_devicesnexus1.png

Portrait:
Left 26
Top 66
Width 362
Height 592

Portrait Upside Down:
Left 26
Top 66
Width 362
Height 592

Landscape left:
Left 66
Top 26
Width 592
Height 365

Landscape right:
Left 66
Top 26
Width 592
Height 365

<MobileDevice>
<Name>MyNexus5CustomView</Name>
<Displayname>My Nexus 5</Displayname>
<DevicePlatform>3</DevicePlatform>
<FormFactor>2</FormFactor>
<Portrait Enabled="True" Width="362" Height="592" Left="26" Top="66" StatusbarHeight="0" Artwork="C:\mydeviceimages\Nexus_Portrait.png" />
<UpsideDown Enabled="True" Width="362" Height="592" Left="26" Top="66" StatusbarHeight="0" Artwork="C:\mydeviceimages\Nexus_Portrait.png" />
<LandscapeLeft Enabled="True" Width="592" Height="362" Left="66" Top="26" StatusbarHeight="0" Artwork="C:\mydeviceimages\Nexus_Landscape.png" />
<LandscapeRight Enabled="True" Width="592" Height="362" Left="66" Top="26" StatusbarHeight="0" Artwork="C:\mydeviceimages\Nexus_Landscape.png" />
</MobileDevice>

For more information, visit: http://docwiki.embarcadero.com/RADStudio/XE7/en/Adding_a_Customized_View_to_the_View_Selector

Twitter @SarinaDuPont


posted @ Wed, 24 Sep 2014 23:48:12 +0000 by sarinadupont


My blog has moved to community.embarcadero.com!

This is most likely my latest blog post on this server.
There is a new Embarcadero social website community.embarcadero.com where my blog has been migrated.
I’m looking forward to see you online on my new blog at
http://community.embarcadero.com/index.php/blogs/blogger/listall/pawel-glowacki-embarcadero-com


posted @ Wed, 24 Sep 2014 10:57:32 +0000 by Pawel Glowacki


Modernizing your apps with new VCL features in XE7

Marco provides a nice, long technical post on how to add taskbar menus and interactions to update and modernize your existing VCL app to Windows 7 and Windows 8.1


posted @ Wed, 24 Sep 2014 17:42:23 +0000 by J T


Server Response from: BLOGS1