Api technologies corp. 7608AE Series Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Výkonové distribuční jednotky (PDU) Api technologies corp. 7608AE Series. Building Apps for Windows Phone 8 Jump Start Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 96
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
Andy Wigley | Microsoft Technical Evangelist
Rob Tiffany | Microsoft Enterprise Mobility Strategist
Building Apps for
Windows Phone 8
Jump Start
Zobrazit stránku 0
1 2 3 4 5 6 ... 95 96

Shrnutí obsahu

Strany 1 - Jump Start

Andy Wigley | Microsoft Technical Evangelist Rob Tiffany | Microsoft Enterprise Mobility Strategist Building Apps for Windows Phone 8 Jump Start

Strany 2

Windows 8 and Windows Phone 8 share many components at the Operating System level Shared Windows Core Windows Kernel Windows Kernel Windows NT Kernel

Strany 3

• Shared Core means • OS components such as the kernel, networking, graphics support, file system and multimedia are the same on both Windows 8 and Wi

Strany 4

• Windows Phone 8 supports • Managed app dev using the WP7.1, WP8.0 .NET and Windows Phone Runtime APIs • Native app dev using WinPRT and Win32 • Gam

Strany 5 - Target Agenda

• The .NET API for Windows Phone is the primary managed API • Includes *all* the types and APIs from Windows Phone OS 7.1 • Contains classes and types

Strany 6 - M1a: Introducing

• Windows Phone Runtime is a subset of the full WinRT, plus some phone-specific additions • Windows (Phone) Runtime is implemented in C++ and projecte

Strany 7 - Module Agenda

• Many of the APIs in Windows Phone Runtime exist to provide new functionality to Windows Phone • Other APIs exist to expose Windows Phone capabilitie

Strany 8 - New WP8 Hardware

• In addition to .NET and Windows Phone Runtime, you have access to some Win32 APIs • Winsock for low-level networking • Camera APIs for native code a

Strany 9

App Models • Windows Phone 8 offers many additional ways of building apps compared to Windows Phone OS 7.1

Strany 10 - Shared Windows Core

• The most common way to build apps for Windows Phone • UI defined using XAML • Logic written using C# or Visual Basic .NET • Access .NET APIs and Win

Strany 11

Demo 1: XAML and Managed Code

Strany 12 - Win32 &

•– Works with the developer community and partners on app development for Windows Phone and Windows 8 – Follow Andy’s blog at http://andywigley.com •

Strany 13 - .NET API for Windows Phone

• You can develop games for Windows Phone using the XNA framework • Same functionality as in Windows Phone OS 7.1 • Logic written using C# or Visual B

Strany 14 - Windows Phone Runtime API

Demo 2: XNA and Managed Code

Strany 15

• Direct3D app written entirely in native code, and which use only Direct3D for its UI • Games development – significant sharing of code base with a P

Strany 16 - Win32 and COM API

• Developers can also build managed apps using XAML that incorporate graphics created by a Direct3D native library • Allows addition of powerful grap

Strany 17 - App Models

Demo 3: Direct3D Games

Strany 18 - XAML UI with Managed Code

• Managed apps can also interact with native libraries • Add C++ Dynamic Link Library or Windows Phone Runtime Component projects to a managed XAML so

Strany 19 - Managed Code

DEMO 4: Managed and Native Component Interop

Strany 20 - Phone 7.1

• Windows 8-style HTML5/JavaScript app development is not supported on Windows Phone 8 • Windows Phone Runtime projections to C#/VB.NET and C++ only •

Strany 21 - Demo 2: XNA and

HTML5 App Project Template

Strany 22 - Direct3D App

Demo 5: Managed App Displaying HTML Content

Strany 23 - (Direct3D)

•– Executive advisor and speaker at global conferences – Has been responsible for architecture, development, deployment of many of the world’s largest

Strany 24 - Demo 3: Direct3D Games

Windows Phone 7.x App Compatibility

Strany 25 - Managed Managed Native

• In general, the Windows Phone app platform enables apps that target Windows Phone OS 7.1 to run without modification or recompilation on Windows Ph

Strany 26

• Instead of breaking WP 7.1 apps running with the WP 8.0 runtime, quirks mode is applied to retain WP 7.1 behavior • Apps that are upgraded to WP 8

Strany 27 - HTML5 App Development

• When converting existing WP7.1 code to WP 8.0, be careful your code does not rely on WP 7.1 behaviour • Two scenarios to consider: • Source code inc

Strany 28 - HTML5 App Project Template

Source Code Incompatibility Examples Code that Behaves Differently When Compiled for WP8 and Quirks Mode is no longer Applied Item Windows Phone OS 8.

Strany 29 - Displaying HTML Content

Binary App Incompatibility Examples Code that Behaves Differently When run on WP8 , whether it is compiled for WP OS 7.1 or for WP8 Item Windows Phone

Strany 30 - Compatibility

M1b: Introducing Windows Phone 8 App Development

Strany 31 - Libraries

Target Agenda | Day 1 Module and Topic | 10-minute breaks after each session / 60-minute “meal break” Planned Duration 1a - Introducing Windows Phone

Strany 32

Overview of New Features for Developers in Windows Phone 8.0 Coming up in the rest of this course…

Strany 33

Tile Templates and Tile Sizes • Windows Phone 8 supports three Tile templates • Flip – flips from front to back (similar to the WP 7.1 Tile template

Strany 34 - Mutex names cannot include a

Target Agenda | Day 1 Module and Topic | 10-minute breaks after each session / 60-minute “meal break” Planned Duration 1a - Introducing Windows Phone

Strany 35

• You can register your app as a lock screen provider, which enables: • User can select your app to show detailed status on the lock screen • Can sele

Strany 36 - App Development

• Launchers are APIs that help a user perform common tasks… Invoke part of the phones’ built-in capabilities to perform tasks such as • Take a photo,

Strany 37 - Target Agenda

• Windows Phone 8 has new Maps controls • Bing Maps control from Windows Phone OS 7.1 is still supported, but deprecated • The new Maps controls use t

Strany 38 - Features for Developers

• New Location API in the Windows Phone Runtime API set • Similar to Windows 8 Location API • Windows Phone OS 7.1 .NET Location API still supported

Strany 39

• Windows Phone 8 allows you to enable users to robustly interact with your app using their voice • Two types of voice interaction are new: • Voice

Strany 40

Credit & Debit Cards Loyalty & Membership Cards Access Saved Deals Supports NFC ‘Tap to Pay’ Wallet

Strany 41 - New Launchers

• LongListSelector • Flat lists • Grouped lists – with headers • Jump List • Formerly in the Silverlight Toolkit • Pivot and Panorama now in ROM • W

Strany 42

3 Screen Resolutions WVGA 800 x 480 15:9 WXGA 1280 x 768 15:9 720p 1280 x 720 16:9

Strany 43

• Lenses • Type of extensibility available to apps that provide unique camera functionality via the camera APIs • As a lens, your app provides the use

Strany 44

• Music media library • Add and remove music files from the user’s music collection with the SaveSong and Delete methods of the MediaLibrary class • P

Strany 45 - Supports NFC ‘Tap to Pay’

Target Agenda | Day 2 Module and Topic | 10-minute breaks after each session / 60-minute “meal break” Planned Duration 10 - App to App Communication 3

Strany 46 - UI Controls

• Incoming VoIP calls work like any other call • Integrates with built-in phone features • VoIP apps continue to run in the background • Available to

Strany 47 - 3 Screen Resolutions

• Create apps that communicate with other phones using Bluetooth technology • Bluetooth API enables the following scenarios for Windows Phone 8: • App

Strany 48 - Camera and Photos

Better Sharing with NFC

Strany 49

• Windows.Networking Windows Phone Runtime API • New networking API highly compatible with Windows 8 • Incoming Sockets • Supported in both System.Net

Strany 50 - VoIP and Video Chat

• Apps can use the Microsoft.Phone.Storage API to read files from an SD card • User can also use SD card to extend device storage for their personal f

Strany 51 - Bluetooth and NFC

• Create a set of contacts owned exclusively by the app, though visible through the phones built-in Contacts app • APIs are provided to create, update

Strany 52 - Better Sharing with NFC

• App can register a File Association • Automatically launch your app when a file of the registered type is received as an email attachment or opened

Strany 53 - • Support for IPV6

In-App Purchase Build apps with higher and recurring revenue opportunity Add and modify different paid options for different user segments Attract a

Strany 54 - MicroSD Support

In-App Purchase used for digital content Durables: buy once & own forever, e.g. new game levels, maps, game items Consumables: game currency, mo

Strany 55 - Custom Contact Store

Enterprise app deployment License apps directly to business Design the right business model, e.g. volume discount Build enterprise apps, for example L

Strany 56

M1a: Introducing Windows Phone 8 App Development

Strany 57 - In-App Purchase

Enterprise Deployment process Company develops or licenses app Company deploys through: Microsoft tools, internal distribution or third party install

Strany 58

Company Hub

Strany 59 - Design the right business

• Windows Phone 8 supports languages such as Arabic, Hebrew and Persian that are read from right to left • FrameworkElement.FlowDirection property all

Strany 60

120+ new Consumer Store Coverage: Over 180 countries 180+ 123 31

Strany 61 - Company Hub

140+ new Developer: Over 180 countries

Strany 62

26 New Languages: 50 languages Windows Phone 7.5 24 Languages Windows Phone 8 50 Languages

Strany 63 - 120+ new

• Managed Apps are NGEN’d for you (compiled to native) in the Windows Phone Store in Windows Phone 8, so typically start and run faster  • When you b

Strany 64 - 140+ new

Getting Started Developing for Windows Phone 8.0 12/4/2012 67

Strany 65 - 50 Languages

• The Windows Phone Developer Center is your base for all things Windows Phone related! • In Windows Phone 7.x, used to be called AppHub and was at ht

Strany 66

Windows Phone Dev Center

Strany 67 - Windows Phone 8.0

• New app platform in WP8 • Application development models • WP8 version of WinRT • Supported application models • Getting started with WP8 app develo

Strany 68 - Getting The Tools

• Your computer must meet the following system requirements to run Windows Phone SDK 8.0: Development PC Requirements Supported operating systems Win

Strany 69 - Windows Phone Dev Center

• SLAT is required to run the WP8 emulator. • PCs that support SLAT are Intel-based processors that start with i (e.g., i3, i5, i7, i9) or any CPUs b

Strany 70 - Development PC Requirements

• If you see the below, you're in good shape for running the WP8 emulator on this machine: • If you see the below, you can't run the WP8

Strany 71

• You do not need a Windows Phone Developer account to download the SDK and start developing apps • You do need a developer account to unlock a phone

Strany 72 - Coreinfo Output

Using the Windows Phone 8.0 Development Tools

Strany 73

• If you are developing apps for Windows Phone OS 7.1, you must install the Zune software to connect to the Windows PC • Also used to synchronise med

Strany 74 - Development Tools

Developer Phone Registration • Before you can deploy your own programs to the device you need to register it as a developer device • This is done once

Strany 75

Deploying to the Phone • Visual Studio lets you select the target device for your program when you run it • The development environment is exactly the

Strany 76 - Developer Phone Registration

• Once you have deployed an application the phone device it is stored on the device for later use • You are limited to ten of your own applications o

Strany 77 - Deploying to the Phone

• Visual Studio provides an exceptional debugging experience • This experience extends to Windows Phone • You can do all the debugging actions in Wind

Strany 78 - Applications on the Phone

New WP8 Hardware Beautiful new hardware from Nokia, HTC, Samsung and more…

Strany 79 - Visual Studio Debugging

• Select Device as the deployment target. You cannot test native code generation using the emulator • Deploy and run your app on the device by using C

Strany 80

• The Windows Phone emulator runs as a Hyper-V virtual machine on your Windows PC • It contains the same software as a “real” phone, but built for the

Strany 81 - The Windows Phone Emulator

• The emulator is not a reliable way of predicting how a program will perform on a real device • The processor in a Windows PC may be more powerful t

Strany 82 - Emulator Performance

• Visual Studio lets you select the target device for a program when it runs • The emulator is started the first time you deploy to it • It will then

Strany 83 - Deploying to the Emulator

• You can use the PC mouse to control the emulator • If you have a multi-touch display you can use multiple touchpoints to pinch and zoom on the displ

Strany 84 - Emulator Interface

• Use the command bar at the right side of the emulator to access an extra set of tools • These allow you to rotate the emulator into different orient

Strany 85 - Emulator Orientation

Camera Emulation • The camera emulator just “takes” a simple photograph and returns it • You can use this to show your applications are invoking the c

Strany 86 - Camera Emulation

Demo 5: Photo Snap Demo 5: Photo Snap

Strany 87 - Photo Snap

• Windows Phone applications can use the emulator to generate location data for them • To do this we open the Additional Tools pane on the emulator

Strany 88 - Additional Tools

• This is the Location tab in the Additional Tools • You can click on any location to “move” the emulator to that position • You can also place pushp

Strany 89

New multicore chipset New graphics processor Increased RAM: 1GB or 512MB More Screen resolutions Removable, encryptable storage NFC Modern Smartphone

Strany 90 - Location Demo

Demo 6: Location Demo

Strany 91 - Dashboard

• Showing the Lock Screen in the emulator is a good way of testing what happens when your app is deactivated • Using the Keyboard: • Press F12 on your

Strany 92 - Network Simulation

• Simulation Dashboard also includes Network Simulation • Test your app on the emulator under different simulated network conditions Network Simulat

Strany 93 - Capturing Screenshots

• It is very useful to be able to take screenshots of the emulator • These can be used in documentation and also to promote the application in the Ma

Strany 94 - • New in Windows Phone 8!

• New in Windows Phone 8! • Press the power and Windows buttons simultaneously • Easy to share screenshots on social networks Capturing Screenshots on

Strany 95 - Summary

Summary • Windows Phone 8 has very many new features • The shared core means that at a low level, components of the OS are the same between Windows 8

Strany 96 - IN THIS PRESENTATION

The information herein is for informational purposes only an represents the current view of Microsoft Corporation as of the date of this presentation.

Komentáře k této Příručce

Žádné komentáře