Download - Windows phone 8 apps
Windows Phone 8 Apps
Melania DanciuSolution Architect / mela.ro
Haufe-Lexware
Mela
Engineer - Politehnica Timisoara
Software developer
Solution Architect at Haufe-Lexware
Speaker
@melaniadanciu
http://mela.ro
Agenda
• Introduction in Windows Phone 8• Windows Phone 8 & 7.1• Tools• New Features• Be a developer
Introduction in Windows Phone 8
• Application Platform• Windows Phone Developer Tools • Application models• WP8 app development demo
New WP8 hardware• Multicore chipset
• New graphics processor
• Increased RAM: 1 GB or 512MB
• More Screen Resolutions
• Removable storage
• NFC
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
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
• …
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
• …
Windows Phone 8 APIs
Managed
Managed & Native
Native
• WIN32 and COM
• Winsock for low level networking
• Camera API
• COM API: ReadFile, WriteFile, CreateFile,
…
Tools
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402523(v=vs.105).aspx
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
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
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
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
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…
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
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)
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
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
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– …
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 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
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)
Other new elements• VoIP and Video Chat• Bluetooth and NFC• Support for IPV6• Read from SD Card• Custom Contact Store• File and Protocol Associations
Design• Pride in craftsmanship• More with less• Fast and fluid• Authentically digital• Win as one
http://developer.windowsphone.com/en-us/design/principles
Store
Other resources
http://www.microsoftvirtualacademy.com/training-courses/windows-phone-8-apps-development-jumpstart
http://code.msdn.microsoft.com/wpapps/
http://mela.ro
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
????Q & A!!!!
Thank you!