29
Windows Phone 8 Apps Melania Danciu Solution Architect / mela.ro Haufe-Lexware

Windows phone 8 apps

Embed Size (px)

DESCRIPTION

The presentation was made for absolute beginners

Citation preview

Page 1: Windows phone 8 apps

Windows Phone 8 Apps

Melania DanciuSolution Architect / mela.ro

Haufe-Lexware

Page 2: Windows phone 8 apps

Mela

Engineer - Politehnica Timisoara

Software developer

Solution Architect at Haufe-Lexware

Speaker

@melaniadanciu

http://mela.ro

Page 3: Windows phone 8 apps

Agenda

• Introduction in Windows Phone 8• Windows Phone 8 & 7.1• Tools• New Features• Be a developer

Page 4: Windows phone 8 apps

Introduction in Windows Phone 8

• Application Platform• Windows Phone Developer Tools • Application models• WP8 app development demo

Page 5: Windows phone 8 apps

New WP8 hardware• Multicore chipset

• New graphics processor

• Increased RAM: 1 GB or 512MB

• More Screen Resolutions

• Removable storage

• NFC

Page 6: Windows phone 8 apps

Shared Windows CoreWindows Phone 8 and Windows 8 share components at the Operation System level• SharedOS Components – kernel, graphics support, file system and multimediaDrivers• Not PossibleWindows 8 and Windows Phone 8 work to exactly the same APIs

Page 7: Windows phone 8 apps

Windows Phone 8 APIs

Managed

Managed & Native

Native

• .NET API for Windows Phone

• All the types and APIs for WP OS 7.1

• Classes and types from System and

Microsoft.Phone

• New classes added for WP8

• Microsoft.Phone.Walllet

• Microsoft.Tasks.SharedMediaTask

• …

Page 8: Windows phone 8 apps

Windows Phone 8 APIs

Managed

Managed & Native

Native

• Windows Phone Runtime

• Subset of WinRT + some phone-specific

additions

• Is implemented in C++ and projected into

C#, VB.NET and C++

• HTML/JavaScript projects not available in

WP8

• Phone specific

• Lock Screen and lock Screen manager

• Speech recognition

• …

Page 9: Windows phone 8 apps

Windows Phone 8 APIs

Managed

Managed & Native

Native

• WIN32 and COM

• Winsock for low level networking

• Camera API

• COM API: ReadFile, WriteFile, CreateFile,

Page 10: Windows phone 8 apps

Tools

http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402523(v=vs.105).aspx

Page 11: Windows phone 8 apps

Application Models• Many ways to build WP8 apps

• XAML UI with Managed Code

• Access .NET APIs and Windows Phone Runtime APIs

• XNA Games using Managed Code

• Access .NET APIs, not Windows Phone Runtime APIs

• Direct3D App

• Only Native code

• Direct3D and XAML

• Access everything

• XAML/Managed plus Native Code

• HTML5 App Development

Page 12: Windows phone 8 apps

Windows Phone OS 7.1 Apps in WP8

• Different apps• The 7.1 apps can run on WP8• The same APIs can have different behaviors in WP8• The conversion from 7.1 to 8 is possible but needs to be made with care

• The garbage collection on WP8 is complity different then on WP 7.1

Page 13: Windows phone 8 apps

New Features• Tiles Templates and Tiles Sizes• Lock Screen on Windows Phone 8• New Launchers• Maps• Location and Location Tracking• Speech• Wallet• UI Controls• 3 Screen Resolutions• Camera and Photos• Media

• Flip – front and back• Iconic – clean layout• Cycle – cycles through up to 9 images

Page 14: Windows phone 8 apps

New Features• Tiles Templates and Tiles Sizes• Lock Screen on Windows Phone 8• New Launchers• Maps• Location and Location Tracking• Speech• Wallet• UI Controls• 3 Screen Resolutions• Camera and Photos• Media

• You can register your screen as a lock screen provider– Lock screen background screen provider– Provider status on the lock screen– Provided detailed status on the lock screen

Page 15: Windows phone 8 apps

New Features• Tiles Templates and Tiles Sizes• Lock Screen on Windows Phone 8• New Launchers• Maps• Location and Location Tracking• Speech• Wallet• UI Controls• 3 Screen Resolutions• Camera and Photos• Media

• SMS, photo, contact, email…

Page 16: Windows phone 8 apps

New Features• Tiles Templates and Tiles Sizes• Lock Screen on Windows Phone 8• New Launchers• Maps• Location and Location Tracking• Speech• Wallet• UI Controls• 3 Screen Resolutions• Camera and Photos• Media

• New maps control (Nokia)– Light and dark color modes– 4 cartographic maps models– Vector-based for fast rendering– Display landmark and pedestrian features

Page 17: Windows phone 8 apps

New Features• Tiles Templates and Tiles Sizes• Lock Screen on Windows Phone 8• New Launchers• Maps• Location and Location Tracking• Speech• Wallet• UI Controls• 3 Screen Resolutions• Camera and Photos• Media

• New location API (W8)• Background location- tracking apps (Run

Trackers)

Page 18: Windows phone 8 apps

New Features• Tiles Templates and Tiles Sizes• Lock Screen on Windows Phone 8• New Launchers• Maps• Location and Location Tracking• Speech• Wallet• UI Controls• 3 Screen Resolutions• Camera and Photos• Media

• Voice Commands(hold the Start button and speak)

• Speech Recognition and Text-to-Speech APIs

Page 19: Windows phone 8 apps

New Features• Tiles Templates and Tiles Sizes• Lock Screen on Windows Phone 8• New Launchers• Maps• Location and Location Tracking• Speech• Wallet• UI Controls• 3 Screen Resolutions• Camera and Photos• Media

• Credit and Debit Cards• NFC• Loyalty and membership cards• Access Saved Deals

Page 20: Windows phone 8 apps

New Features• Tiles Templates and Tiles Sizes• Lock Screen on Windows Phone 8• New Launchers• Maps• Location and Location Tracking• Speech• Wallet• UI Controls• 3 Screen Resolutions• Camera and Photos• Media

• New Controls in WP8 SDK– Some of them from Toolkit– LongListSelector– Pivot – Panorma– …

Page 21: Windows phone 8 apps

New Features• Tiles Templates and Tiles Sizes• Lock Screen on Windows Phone 8• New Launchers• Maps• Location and Location Tracking• Speech• Wallet• UI Controls• 3 Screen Resolutions• Camera and Photos• Media

Page 22: Windows phone 8 apps

New Features• Tiles Templates and Tiles Sizes• Lock Screen on Windows Phone 8• New Launchers• Maps• Location and Location Tracking• Speech• Wallet• UI Controls• 3 Screen Resolutions• Camera and Photos• Media

• Background photo auto-upload (background agent)

• Advanced camera capture APIs• New Photos extendibility features (reach media

editor app)• Interact directly with the camera - Lenses

Page 23: Windows phone 8 apps

New Features• Tiles Templates and Tiles Sizes• Lock Screen on Windows Phone 8• New Launchers• Maps• Location and Location Tracking• Speech• Wallet• UI Controls• 3 Screen Resolutions• Camera and Photos• Media

• Add and remove media files• Saved pictures have 2 thumbnail images• Background audio (PlayStateChangedEventArgs)

Page 24: Windows phone 8 apps

Other new elements• VoIP and Video Chat• Bluetooth and NFC• Support for IPV6• Read from SD Card• Custom Contact Store• File and Protocol Associations

Page 25: Windows phone 8 apps

Design• Pride in craftsmanship• More with less• Fast and fluid• Authentically digital• Win as one

http://developer.windowsphone.com/en-us/design/principles

Page 26: Windows phone 8 apps

Store

Page 27: Windows phone 8 apps

Other resources

http://www.microsoftvirtualacademy.com/training-courses/windows-phone-8-apps-development-jumpstart

http://code.msdn.microsoft.com/wpapps/

http://mela.ro

Page 28: Windows phone 8 apps

What we’ve seen• A new platform• Develop a common application core for Windows Phone 8 and Windows 8• Use the free tools available as a student• Learn from the videos and form communities• Have a look at the design principles• Use the new features to build incredible applications• Have in mind the patterns and the principles to build a solid application

Page 29: Windows phone 8 apps

????Q & A!!!!

Thank you!