Upload
kms-technology
View
10.749
Download
0
Tags:
Embed Size (px)
DESCRIPTION
Developing Apps for Windows Phone 8 - The 5th seminar in public seminar series from KMS Technology which have been delivering from 2011 in every two months
Citation preview
Developing apps for Windows
Phone 8
Testing Devices are sponsored by
Agenda Introduction
Windows Phone Fundamentals
Windows Phone Notifications
Windows Phone Sensors
Shared core with Windows 8
Reuse your skills to build WP8 apps
Live Tile vs. Icon
Shared User Experience
Windows 8WP 8
Shared Core
Window Phone Store: 120,000 Apps
8 Big Things You Must Know About
Windows Phone 8
1. The Modern Hardware
2. Internet Explorer 10
• 4x faster JavaScript performance
• 2x HTML5 feature support
3. Native Code for Games• Native game development
platform based on DirectX
• Write the same game for Windows 8 and WP8
4. Speech
• Integrate speech-to-text and text- to-speech with Speech APIs
• 15 supported languages
• Voice commands to open apps from start screen
5. Proximity APIs
• NFC Tap-to-Share & Tap-to-Pay
• Bluetooth APIs
6. Nokia Map Technology
• Download map data for offline use
• Turn-by-turn directions
• Background location tracking
7. Camera and Lenses• Lens apps integrate into the camera
• Auto-upload pictures to web service
8. Personalizing Your Screen
Built-in VoIP and Video Chat
• Incoming VoIP calls feel like any call
• Integration with built in phone features
• VoIP apps run in background
• Available to all developers
Truly Global, Deeply Local
• 50 Languages
• Apps available in 180+ countries
Getting Started
Pro or higher
http://dev.windowsphone.com/en-us/downloadsdk
DemoHow to create your first app for Windows Phone
Agenda Introduction
Windows Phone Fundamentals
Windows Phone Notifications
Windows Phone Sensors
Shared core with Windows 8
Reuse your skills and code to build WP8 apps
Lifecycle
5 seconds
Demo app lifecycle
UI Controls and UI Toolkit
• Panorama
• Pivot
• Telerik RadControls
Panorama, Pivot, RadControls Demo
What is Live Tile?• A shortcut to an app• Three tile sizes• Three tile types
26
Tile Sizes
27
Tile Size Flip and Cycle Images
Iconic Images
Small 159 x 159 pixels 159 x 159 pixels 110 x 110 pixels
Medium 336 x 336 pixels 336 x 336 pixels 202 x 202 pixels
Wide 691 x 336 pixels 691 x 336 pixels N/A
Tile Templates• Flip – flips from front to
back
• Iconic
• Cycle – cycles through up to nine images
28
Defining App Live Tile
Tiles Demo
• User can select any five apps to show quick status
• All you have to do is– Create an icon– Declare the app’s intent in the
application manifest file
Lock Screen
Agenda Introduction
Windows Phone Fundamentals
Windows Phone Notifications
Windows Phone Sensors
Shared core with Windows 8
Reuse your skills to build WP8 apps
Windows Phone Notifications Three Kinds of Push Notification:
• Toast • Tile• Raw
http://msdn.microsoft.com/en-us/library/ff402545(v=VS.92).aspx
Push Notification Data Flow
Push Notification Demo
Agenda Introduction
Windows Phone Fundamentals
Windows Phone Notifications
Windows Phone Sensors
Shared core with Windows 8
Reuse your skills to build WP8 apps
Windows Phone 8 Sensors
Windows Phone 8 Sensors - Map
• Replaces Bing Maps
• Converges with Windows 8
Maps APIs
• Add a Map to your UI <Grid x:Name="ContentPanel" > <maps:Map x:Name="MyMap"/> </Grid>
Map MyMap = new Map();
ContentPanel.Children.Add(MyMap);
Map Control
Mapping offline in native and apps
Route Queries do not require a network
Offline Maps
MapDownloaderTask mdt = new MapDownloaderTask();mdt.Show();
• MapTask: launch the map in 2 lines of code
• MapsDownloaderTask: download map data for offline in 2 lines of code
• MapsDirectionTask: start turn-by-turn directions in 4 lines of code
Built-In Map Tasks
Sensors – Proximity
• Near Field Communications (within 3-4 centimetres)
• Transfer of a message or byte stream from one device to another
• Using Bluetooth or WiFi
NFC
NFC OptionsApp to app App to device
Tag to App
NFC Demo
Sensors – Speech APIs
• 15 supported languages
• Multiples voices per language
Sensors – Speech APIs
• Speech Synthesis (Text to Speech)
• Speech Recognizer (Speech to Text)
• Voice Commands
Sensors – Speech APIs
Text To Speech
Speech To Text
DemoSpeech-To-Text, Text-To-
Speech
Sensors - VoIP
• Incoming VoIP calls work like any other call
• Integrates with built-in phone features
• VoIP apps continue to run in the background
VoIP and Video Chat
Agenda Introduction
Windows Phone Fundamentals
Windows Phone Notifications
Windows Phone Sensors
Shared core with Windows 8
Reuse your skills to build WP8 apps
• Windows 8
Common Structure
Windows Phone 8• WP 8
Control Comparison
Windows Phone 8
Windows Phone 8Windows 8
Common APIsWP 8Windows 8
Agenda Introduction
Windows Phone Fundamentals
Windows Phone Notifications
Windows Phone Sensors
Shared core with Windows 8
Reuse your skills to build WP8 apps
Reuse your skills to build WP8 apps
HTML5 - IE10 Demo
References
https://www.microsoftvirtualacademy.com/tracks/building-apps-for-windows-phone-8-jump-start
https://dev.windowsphone.com