intro into developing ultrabook applications - intel applab berlin
DESCRIPTION
Intro into Developing Ultrabook Applications - presented by Paul FarquharTRANSCRIPT
Introduction to Developing
Ultrabook™ Applications
Intel® Corporation
Legal Disclaimer• INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL® PRODUCTS. EXCEPT AS PROVIDED IN INTEL’S TERMS AND CONDITIONS OF SALE FOR SUCH
PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL IS CLAIMS ANY EXPRESS OR IMPLIED WARRANTY RELATING TO SALE AND/OR USE OF INTEL
PRODUCTS, INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT,
COPYRIGHT, OR OTHER INTELLECTUAL PROPERTY RIGHT. Intel products are not intended for use in medical, life-saving, life sustaining, critical control or safety systems,
or in nuclear facility applications.
• Intel products may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are
available on request.
• Intel may make changes to dates, specifications, product descriptions, and plans referenced in this document at any time, without notice.
• This document may contain information on products in the design phase of development. The information here is subject to change without notice. Do not finalize a
design with this information.
• Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Intel reserves these for future definition and
shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them.
• Intel Corporation may have patents or pending patent applications, trademarks, copyrights, or other intellectual property rights that relate to the presented subject
matter. The furnishing of documents and other materials and information does not provide any license, express or implied, by estoppel or otherwise, to any such
patents, trademarks, copyrights, or other intellectual property rights.
• Wireless connectivity and some features may require you to purchase additional software, services or external hardware.
• Performance tests and ratings are measured using specific computer systems and/or components and reflect the approximate performance of Intel products as measured
by those tests. Any difference in system hardware or software design or configuration may affect actual performance. Buyers should consult other sources of
information to evaluate the performance of systems or components they are considering purchasing. For more information on performance tests and on the
performance of Intel products, visit Intel Performance Benchmark Limitations
• Intel, the Intel logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries.
Copyright © 2011 Intel Corporation. All rights reserved.
Intel Confidential - Customer NDA Use Only
* Other Names and Brands maybe claimed as the property of others. All dates, plans and features are preliminary and subject to change without notice.
2Copyright© 2012, Intel Corporation. All rights reserved. *Other brands
and names are the property of their respective owners
Who am I?
3
Paul FarquharEMEA AppUp Technical Lead
What do I like to do?
4
@TheGlenPaul
What do we eat – Haggis!
5
You need the proper tools!
6
WHAT DOES ULTRABOOKTM / WINDOWS*
8 MEAN FOR CURRENT DEVELOPERS?
Copyright© 2012, Intel Corporation. All rights reserved.
*Other brands and names are the property of their respective owners 7
Worried about the Windows* 8
transition?
What’s the
difference
between an
Ultrabook and a
notebook?
New
Windows*8
UI?
Desktop?
Do I have to re-write
all of my Win32 apps
from scratch?
WinRT?
Do my applications
need to support
touch?
How does
HTML5* fit
into this?
How do I use an
Ultrabook’s
sensors?
8Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners
The world of Windows* 8
Source: Microsoft
9Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners
• New Windows*8 appshave a single, full-screen window with multiple views
– Must follow the New Windows*8 user experience
– Require a new developer ecosystem
• Desktop Applications
– Windows* 8 supports Native Win7 Applications
– Run in a desktop UI, with full device and driver compatibility
– Can take advantage of UltrabookTM &Windows* 8 features
New Windows*8 Style Desktop Style
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names
are the property of their respective owners 10
How Windows*8 and the DesktopWork Together
Desktop Application Launched from New Windows*8 Start Screen
10
Click tile for iTunes* iTunes Desktop app launches
Legacy Compatibility for IA:
• Windows* 8 supports Native Win7 Applications (in Desktop UI, with full device and driver compatibility)
• Desktop Applications run as is, no changes required, in the Desktop UI mode of Windows* 8
• 4 million+ “legacy” Applications supported by IA.
New New Windows*8 apps:
• Requires a NEW developer ecosystem
• WinRT* (i.e. New Windows*8*) apps to be compatible with both x86- and ARM-based systems
• HTML5/JavaScript and .NET desktop applications expected to be compatible with both x86 and ARM
x86 + ARM*
x86 Only
Source: Microsoft
11Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners
New Windows*8 Apps Desktop applicaitons
Windows* 8 Compatibility
Expectations
ULTRABOOKTMTMTMTM / WINDOWS* 8 FEATURES
(HARDWARE, OS, APPLICATION LEVELS)
Copyright© 2012, Intel Corporation. All rights reserved.
*Other brands and names are the property of their respective owners 12
Ultrabook
HardwareSecurity
Rapid StartBattery Life
Thunderbolt Turbo Boost
Graphics
UltrabookTM Built to Set Applications Apart
OS
UX Desktop New Windows*8
Touch/Gestures Context Aware Sensors
Near Field Communication Geolocation
13Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners
Ivy Bridge Processor Graphics
14
• Integration of graphic and media processing onto the same CPU die
• Dedicated hardwired media processing functions
• Maximum media performance at lowest possible power consumption
• Highly sophisticated graphic execution units (EU) for high quality graphics
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners
Intel® Turbo Boost Technology 2.0
15Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners
• Performance when you need it
• Dynamic overclocking
• Don’t need to drain power constantly for all processes
• Helps reduce temperature and extends battery power.
OS Differentiators
• Touch- and gesture-based UI
• Context aware sensors
• Near field communication
• Geolocation
OS
Touch/GesturesContext Aware
Sensors
Near Field
CommunicationGeolocation
Intel Confidential
16Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners
Application Differentiators
Intel Confidential
17Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners
New Windows*8
Desktop Style
• New Windows*8 apps have a single, full-screen window with multiple views
• Clean typography and animations• Fast, fluid touch first experience
• Retains the flexibility of the traditional Windows* Desktop • Full access to familiar x86 applications and tools• Provides finer-grained control
• Touch and Sensors can be enabled for all three styles of applications
New Windows*8 Style
Desktop Style
HTML5 Style
• HTML5* apps can run as New Windows*8 apps or as Desktop in Internet Explorer 9 & 10
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names
are the property of their respective owners 18
Digital Storefronts for Windows* 8
Windows Store* for New Windows*8 apps
Intel AppUp® for Desktop
Applications
NEW WINDOWS*8 API FOR
DESKTOP DEVELOPERS
Copyright© 2012, Intel Corporation. All rights reserved.
*Other brands and names are the property of their respective owners 19
Application Environment
20Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners
Model
View
Systems Services
New Windows*8 apps Desktop Applications
HTMLJavaScript
CC++
C#VB
InternetExplorer
Win32 .NET
HTML CSS
JavaScript(Chakra)
C#, VBC/C++
XAML
WinRT APIs
App Model
Network& Data
Graphics &
Media
Devices &
Printing
Kernel Windows Kernel Services
XAML
WinRT
• API to access to the system (display, file
system, sensors, media devices, etc)
– Everything needed for a New Windows*8 app
– Desktop applications can use a sub-set of WinRT
• Combine with Win Native or .NET
• Languages: C++, C#, JavaScript and VB
– WinRT HTML or XAML elements are restricted to
New Windows*8 apps
Intel Confidential
21Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners
Desktop apps and Windows
Native
• Primarily the same as Win32 on Windows 7– Computer System Hardware Classes
– Installed Application Classes
– Operating System Classes
– Performance Counter Classes
– Security Descriptor Helper Classes
– WMI Service Management Classes
• Access to the hardware– Better performance
– Less abstraction
• Access to sensors via COM interfaces
• Code is unmanaged– No automated free memory management
22Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners
WinRT API Areas
• Core
• Controls
• Data and content
• Devices
• Files and folders
• Globalization
• Graphics
• Helpers
• Media
• Networking
• Printing
• Presentation
• Remote Desktop
• Security
• Social
• UI Automation
• User Interaction
Underlined items have classes available to desktop applications
23Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners
Copyright© 2012, Intel Corporation. All rights reserved.
*Other brands and names are the property of their respective owners 24