attract more users to your delphi & c++builder applications by leveraging new windows 10 apis

Post on 16-Jan-2017

666 Views

Category:

Software

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Attract more users to your Delphi and C++Builder

applications by leveragingnew Windows 10 APIs

Feb. 24, 2016

Your Presenter• David Intersimone “David I”• Chief Evangelist• Email: davidi@embarcadero.com• Blog: embt.co/SipFromTheFirehose• Twitter: @davidi99

Webinar blog post: http://embt.co/vclwin10specific

Agenda• What’s new in 10 Seattle specifically for Windows 10• Strategies for using Windows 10 specific features and still

have your apps work on earlier versions of Windows• Updating the Marine Adventures Application• Summary• Special Offers and Promos• Q&A

EMBARCADERO TECHNOLOGIES

What’s new in 10 Seattle for Windows 10 Support• New VCL Controls, for

Windows 10 User Experience• Windows 10 Styles• Universal Windows Platform

(UWP)/WinRT Services and Components– Local Notifications– Sharing Contracts

EMBARCADERO TECHNOLOGIES

Why Use the New Windows 10 Specific Features• Attract new customers for your applications• Excite existing customers who now have Windows 10 PCs• Provide a better UI/UX for new Desktop/Tablet hybrids• Take advantage of Windows 10 specific APIs

EMBARCADERO TECHNOLOGIES

Strategies for using Windows 10 specific featuresand still have your apps work on earlier versions of Windows• Create a project group with two target apps that share

– Common forms and code– Windows version specific forms and code

• Use conditional defines for platform specific code– Works for code, does not work for form files– Create some of your forms at runtime based on Windows version

• Host visual controls in Frames– One frame for Windows 10– One frame for other versions of Windows

• Host non-visual controls in a DataModule

EMBARCADERO TECHNOLOGIES

Windows 10 UWP/WinRT Notifications

EMBARCADERO TECHNOLOGIES

NOTIFICATION DEMONSTRATION

EMBARCADERO TECHNOLOGIES

Windows 10 UWP/WinRT Sharing Contracts

EMBARCADERO TECHNOLOGIES

SHARING CONTRACTS DEMONSTRATION

EMBARCADERO TECHNOLOGIES

New WinRT interface units• Interfaces for Windows 10 WinRT Access• Delphi: included

– C:\Program Files (x86)\Embarcadero\Studio\17.0\source\rtl\win\winrt

• C++: download from Tools | GetIt Package Manager– C:\Users\davidi\Documents\Embarcadero\Studio\17.0\

CatalogRepository\WinRT_CPP-1.0

EMBARCADERO TECHNOLOGIES

New WinRT interface units - Delphi

EMBARCADERO TECHNOLOGIES

New WinRT header files – C++

EMBARCADERO TECHNOLOGIES

WINRT CALENDAR DEMONSTRATION

EMBARCADERO TECHNOLOGIES

The Marine Adventures Application• Master Detail sample demo included with the product• Data Model: Customers, Orders, Parts and Items• Functionality: add, modify, browse, and report • Uses InterBase Express (IBX) data access components• UI

– Menu item for VCL Styles selection– Large Button Bar for functionality– Popup Modal Forms and edit forms– Not designed for modern look and tablet/touch use

EMBARCADERO TECHNOLOGIES

Update the Marine Adventures Application• Windows 10 Notifications– Send notification reminder to check inventory levels

• Windows 10 Sharing Contracts– Share Marine Adventure info with other Windows apps

EMBARCADERO TECHNOLOGIES

MARINE ADVENTURES DEMONSTRATION

RAD STUDIO 10 SEATTLE: READY FOR YOU

18

EMBARCADERO TECHNOLOGIES

RAD Studio 10 SeattleEditions:• Professional• Enterprise• Ultimate• Architect• Starter

Includes:• C++Builder• Delphi• HTML5 Builder• InterBase XE7• Third party tools

– TeeChart, FastReport, IntraWeb, IP*Works, Beyond Compare

EMBARCADERO TECHNOLOGIES

Special Offers on RAD Studio Delphi and C++Builder• Buy One Get Another Tool Free

– With each qualifying Embarcadero RAD Studio, Delphi or C++Builder product you buy, you can choose a second Embarcadero tool of equal or lesser price

– Offer ends February 29, 2016

• Free Bonus Pack– New Object Pascal Handbook by Marco Cantu– VCL and FireMonkey Premium Styles– Mida Converter Basic

http://www.embarcadero.com/radoffer

EMBARCADERO TECHNOLOGIES

Upcoming Webinars and Skill Sprints• Next Wednesday, March 2: Webinar - Learn How to Use the New

JSON Features in RAD Studio 10 Seattle – Pawel Glowacki– 6am PST - https://attendee.gotowebinar.com/register/7387478262006799618– 11am PST - https://attendee.gotowebinar.com/register/840505543647164930– 5pm PST - https://attendee.gotowebinar.com/register/3459142018777093634

• Skill Sprints through the end of March– Delphi every Tuesday at 6am, 11am and 5pm PST– C++ every Thursday at 6am, 11am and 5pm PST– http://www.embarcadero.com/landing-pages/skill-sprints

EMBARCADERO TECHNOLOGIES

Questions? davidi@embarcadero.com

Webinar blog post: http://embt.co/vclwin10specific

EMBARCADERO TECHNOLOGIES

Resources – Windows 10 Specific• Local Notifications

– http://docwiki.embarcadero.com/RADStudio/Seattle/en/Using_Notifications– http://docwiki.embarcadero.com/RADStudio/Seattle/en/Using_Notifications#Windows_Notifications– http://docwiki.embarcadero.com/Libraries/Seattle/en/System.Notification– Samples

• C:\Users\Public\Documents\Embarcadero\Studio\17.0\Samples\Object Pascal\VCL\Windows 10 Notifications• C:\Users\Public\Documents\Embarcadero\Studio\17.0\Samples\CPP\VCL\Windows 10 Notifications

• Sharing Contract– http://docwiki.embarcadero.com/RADStudio/Seattle/en/Sharing_Content_Using_the_Sharing_Contract– http://docwiki.embarcadero.com/Libraries/Seattle/en/Vcl.ShareContract– http://docwiki.embarcadero.com/Libraries/Seattle/en/Vcl.ShareContract.TCustomSharingContract– http://docwiki.embarcadero.com/Libraries/Seattle/en/Vcl.ShareContract.TSharingContract– Samples

• C:\Users\Public\Documents\Embarcadero\Studio\17.0\Samples\Object Pascal\VCL\Windows 10 SharingContract

• Windows 10 Calendar API– Uses: Winapi.winrt, Winapi.Foundation.Collections, Winapi.Globalization– C:\Users\Public\Documents\Embarcadero\Studio\17.0\Samples\Object Pascal\VCL\Windows 10 Calendar

EMBARCADERO TECHNOLOGIES

Resources – IBMastApp Sample• DocWiki

– http://docwiki.embarcadero.com/CodeExamples/Seattle/en/IBX.IBMastApp_Sample

• Delphi– C:\Users\Public\Documents\Embarcadero\Studio\17.0\Samples\Object Pascal\Database\IBX\IBMastApp– http://sourceforge.net/p/radstudiodemos/code/HEAD/tree/branches/RADStudio_Seattle/Object%20Pascal/Data

base/IBX/IBMastApp/

• C++– http://sourceforge.net/p/radstudiodemos/code/HEAD/tree/branches/RadStudio_XE6/CPP/Database/IBX/IBMast

App/

• Getting Started with InterBase Express– http://docwiki.embarcadero.com/RADStudio/Seattle/en/Getting_Started_with_InterBase_Express

EMBARCADERO TECHNOLOGIES

Resources for the Webinar• Webinar Blog Post• Slide deck on SlideShare• Sample projects in CodeCentral

EMBARCADERO TECHNOLOGIES

Thank You

Webinar blog post: http://embt.co/vclwin10specific

top related