Multi-Device
Development for the IoT
GenerationMarco Cantù
RAD Studio Product Manager

Marco Cantù• RAD Studio Product Manager• Email: marco.cantu@embarcadero.com@marcocantu• Book author and Delphi guru
• blog.marcocantu.com
2

What is RAD Studio?
The Connected App Platform for
Windows and Beyond
RAD development for Windows,Mac, iOS, and Android and IoT
Industrial strength. Business readyRAD Studio XE8: Enterprise Ready
Build industrial strength and business ready solutions

4

RAD Studio XE8: Connected
Connect native client
platforms, mobileextensions, smart devices,cloud services, Enterpriseand embedded data.

5RAD Studio XE8: MultiDevice
Deliver single-source
user interfaces acrossmultiple form factors
with FireUI

6

RAD Studio XE8: IoT ReadyExtend apps with newInternet of Things
capabilities: proximity
awareness, devices, andsensor data collection

7

RAD Studio XE8: EMS MiddleWare
Access and sync enterprise data and publish custom REST
APIs with turn-key Enterprise Mobility Services

8RAD Studio XE8: For Developers

9Multi-Device Development for the IoT Generation

RAD STUDIO SUCCESS STORIES

10

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

TKC – Japan Corporate• Est. 1966
• 2200 employees• 77 offices through Japan• Mission: Protecting the operations of accounting offices
and improving efficiency in administrative procedures oflocal governments

TKC - Quote“Taxation and accounting systems provided by TKC Corporation require
an update every year according to laws and regulation changes,” said
Hitoshi Uotani, Corporate Officer, and Director of System Laboratory ofTKC Corporation. “Prompt and stable software provision is extremely
critical in order to support management of our client corporations.
Delphi enables visual development through components and ensureshigh levels of productivity from our team. We also greatly appreciate
Delphi’s multi-device support for deploying our development assets tomobile devices.”
Hitoshi Uotani
Corporate Officer, and Director of System Laboratory of TKC Corporation

Digifort - Company• Brazil and Australia• Customers in over 85 countries• Multi-device• Award winning• Stunned competitors developing new mobile product inless than one monthDigiFort - Top Quote"Delphi is the cross platform tool I've always dreamed of –there's nothing that can beat it.”
Eric Fleming Bonilha,Director of Development,Digifort

XE8 Customer Comments• Mobile support and Universal 32-bit and 64-bit iOS apps
make RAD Studio XE8 the best tool I have ever tried• Luca Scomparin - Direttore Tecnico - Sonar Italia• XE8 is one of the best RAD Studio releases so far.
• Brian Frost Technical Director Applied Relay Testing Ltd.

• RAD Studio XE8 looks great in Windows 8• Marco Cirinei - Lead Developer - HappySoft Srl
15

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

XE8 Customer Comments• Delphi users will benefit from the GetIt Package Manager
and the code productivity features added to XE8.
• Warren Postma - Senior Software Developer - RAMSOFT Inc• The overall vision of where RAD Studio is going is awesome• Davis Peterson• RAD Studio XE8 is a crazy good upgrade for developing
mobile, desktop, or web applications.
• Andrew Tierney - CEO – CastleSoft
16

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

Multi-Device Development for the IoT Generation

WHAT IS THE INTERNET OF THINGS?

17

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

What do these have in common?

18

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

APIs to Talk to Them

19

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

Things + Internet20本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

Multi-Device Development for the IoT Generation

RAD STUDIO MULTI-DEVICEDEVELOPMENT

21

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

Mobile is Everywhere

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

Mobile Apps Are Everywhere

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

The FireMonkey Platform• Single-source multi-device architecture– Including user interface controls, which canbe styled or platform native– Multiple compilers for the different
platforms, all producing native code

• RAD, with a strong OOP architecture• For Windows, OS X, Android, iOS24

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

Multi-Device and IoT• Native code on all platforms and great platforms
integration for IoT support• Add application logic “near” the device– Rather than push any data to the cloud

25

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

Multi-Device Development for the IoT Generation

IOT CONNECTIVITY IN RAD STUDIO

26

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

Connecting with Devices• Wifi and REST
– Connect with devices that expose an HTTP API• Classic Bluetooth and Bluetooth LE– Limited Windows support for LE– Most gadgets support Bluetooth• Custom APIs
– Require use of specific SDKs
– RAD Studio can interface native libraries on all platforms
27

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

If IoT Data is in Cloud… Connect with Cloud• Plain Indy client components• HTTP Client Library (new in XE8)
• REST Client Library– Debugger and components• Ready-to-use BaaS components (Parse and Kinvey)• Ready to use Cloud components (Amazon and Azure)28

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

Multi-Device Development for the IoT Generation

APPTETHERING

29

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

App Tethering30

AppTethering: Brigde VCL and Mobile

31

Why AppTethering?
• Build companion mobile apps
– Mobile enable desktop applications with companion apps
– Embrace and extend, rather than migrate• Automatic discovery– No configuration, IP setup, server management– Peer-to-peer model, across same app / companion apps

What is App Tethering?
• Introduced in XE6• Easily expand your existing Windowsapps to mobile devices• Simple communication components oneach side– Execute actions– Exchange data

• Demo from XE7 Samples: PhotoWall

Multi-Device Development for the IoT Generation

BEACONS

34

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

New: Proximity with Beacons35

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

What Do Beacons Do?
• A Beacon provides proximity
and identification information• Informs a mobile app how close itis (signal strength)• Provides identification information(UUID, Major ID, & Minor ID)• Two main standards• iBeacons (Apple)• AltBeacons

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

What Can You Do with Beacons?
• Your “proximity” app can:
– Find nearby beacons• Determine how close it is to a beacon– Know the identity of the beacon• UUID, Major, Minor– Enter/exit a beacon range• Limited to BLE signal distance– Take some action based on “seeing” the beacon
本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

The TBeacon Component• Supports iOS, Android,and OS X
• iBeacons andAltBeacons standards• Use events to receiveinformation

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

Multi-Device Development for the IoT Generation

MOBILE NOTIFICATIONS WITH EMS AND
PUSH NOTIFICATIONS

39

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

What is EMS?
Enterprise Mobility Services
A turnkey middleware server enabling:• User management and authentication• Loadable modules for custom APIs over REST
• Enterprise SQL database access through• Mobile embedded and server-side SQL data storage• Web console for user, device, and API analytics
本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

Why EMS?
• Mobile solutions require strong
backend for enterprise focus• Advantage of turn-key, cloud-readysolution, fast and easy deployment• Critical for enterprise acceptance– Shared customers backed for a VAR

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

EMS as Enterprise Private Cloud

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

EMS in PracticeUse RAD Studio to build– server modules– mobile/desktop clients• Self Hosted– Personal cloud or traditional server• Licences– Per user fee, unlimited apps and calls (and push…)•

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

What are Push Notifications• Mechanism to send notifications to (mobile) devices• App on mobile needs to signup and authorize• Can receive notifications while app is not running• Core providers• Android: Google Cloud Messaging (GCM)• iOS: Apple Push Notification (APN)Push in RAD Studio• Permissions to receive Push Notifications• Android: App permission• iOS: Entitlement file
• BaaS– Parse, Kinvey, (App42)• EMS– Direct support (no intermediary)
本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

EMS and PushREST call

Push Notification
APN / GCM

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

EMSPush48

Multi-Device Development for the IoT Generation

THE NURSE STATION DEMO

49

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

IoT for EnterpriseThings nearyour user

Things near acomputer

Any Cloud service
Or APIEMS Server

Any Enterprise
Data or Service50

•
••
•
••
•

User Auth
API Hosting
Enterprise Data Access
Data storage
IOT Device Access Control
Wifi/Bluetooth Bridging
Push Notifications

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

Things near yourEMS Server

The Nurse Station Demo• A patient walks into a doctor’s office…
• A real world scenario showcasing– Apps integration via EMS• FireMonkey, mobile, VCL• Push notifications, AppAnalytics– Internet of Things• Device integration via Bluetooth• Beacons51

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

Nurse Station: Patient App

52

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

Nurse Station: Nurse App53

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

RAD Studio XE8: Ready for You

RAD Studio XE8Versions:• Starter– Delphi and C++Builder• Professional• Enterprise• Ultimate• Architect

Includes:• C++Builder• Delphi• HTML5 Builder• InterBase XE7• A rich set of third party
toolsUpdate Subscription Advantages• Includes updates and fixes– Only way to get updates from now on– Also fixes for recent, past releases (new)• Includes support incidents• Includes exclusive content (new)• Extends Maintenance and Support– Same price point and model, automatic migration
56

Primary Benefits of RAD Studio XE8
The Connected App Platform for Windows and Beyond

The best tool for multidevice development for
Windows, OS X, iOS,Android

Bluetooth, App
Tethering, Beacons for
the Internet of Things

Turn-key services:
AppAnalytics andEnterprise MobilityServices

Multi-Device Development for the IoT Generation

QUESTIONS?

58

本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。

Thank you!