Api technologies corp. 7608AE Series Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Jednostki dystrybucji zasilania (PDU) Api technologies corp. 7608AE Series. Building Apps for Windows Phone 8 Jump Start Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 96
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
Andy Wigley | Microsoft Technical Evangelist
Rob Tiffany | Microsoft Enterprise Mobility Strategist
Building Apps for
Windows Phone 8
Jump Start
Przeglądanie stron 0
1 2 3 4 5 6 ... 95 96

Podsumowanie treści

Strona 1 - Jump Start

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 9

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

Strona 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

Strona 11

Demo 1: XAML and Managed Code

Strona 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 •

Strona 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

Strona 14 - Windows Phone Runtime API

Demo 2: XNA and Managed Code

Strona 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

Strona 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

Strona 17 - App Models

Demo 3: Direct3D Games

Strona 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

Strona 19 - Managed Code

DEMO 4: Managed and Native Component Interop

Strona 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 •

Strona 21 - Demo 2: XNA and

HTML5 App Project Template

Strona 22 - Direct3D App

Demo 5: Managed App Displaying HTML Content

Strona 23 - (Direct3D)

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

Strona 24 - Demo 3: Direct3D Games

Windows Phone 7.x App Compatibility

Strona 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

Strona 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

Strona 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

Strona 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.

Strona 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

Strona 30 - Compatibility

M1b: Introducing Windows Phone 8 App Development

Strona 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

Strona 32

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

Strona 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

Strona 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

Strona 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

Strona 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,

Strona 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

Strona 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

Strona 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

Strona 40

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

Strona 41 - New Launchers

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

Strona 42

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 48 - Camera and Photos

Better Sharing with NFC

Strona 49

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 56

M1a: Introducing Windows Phone 8 App Development

Strona 57 - In-App Purchase

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

Strona 58

Company Hub

Strona 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

Strona 60

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

Strona 61 - Company Hub

140+ new Developer: Over 180 countries

Strona 62

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

Strona 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

Strona 64 - 140+ new

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

Strona 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

Strona 66

Windows Phone Dev Center

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 72 - Coreinfo Output

Using the Windows Phone 8.0 Development Tools

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 78 - Applications on the Phone

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 86 - Camera Emulation

Demo 5: Photo Snap Demo 5: Photo Snap

Strona 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

Strona 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

Strona 89

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

Strona 90 - Location Demo

Demo 6: Location Demo

Strona 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

Strona 92 - Network Simulation

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

Strona 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

Strona 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

Strona 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

Strona 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.

Komentarze do niniejszej Instrukcji

Brak uwag