Programering af mobile enheder Windows Phone Uge 9 Part 1.

Slides:



Advertisements
Similar presentations
Building RADNUG8 – the windows 8 app Part 1 Matt
Advertisements

Windows Phone Intro Om Windows Phone, Oplev telefonerne, Downloads
Creating Windows Store Apps. 1. Overview of Windows Store applications 2. Worked example 3. Adding controls and event handlers Contents 2.
Charles Petzold Application Lifecycle and State Management.
Part 2: Manage app lifecycle and state (Windows Store apps using C#/VB and XAML) us/library/windows/apps/hh aspx
Understanding Mobile App Development Concepts and Working with APIs Lesson 6.
Chapter 1 Creating a Flyer
© by Pearson Education, Inc. All Rights Reserved.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
1 Chapter 12 Working With Access 2000 on the Internet.
1 Visual Basic.NET Application Overview. 2 Objectives Discuss what a typical Visual Basic.NET application looks like Configure the Visual Studio.NET Integrated.
Building Windows Phone Applications with Silverlight Nguyen Thanh Tung Project Manager - MISA JSC.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
Building Silverlight Applications Using the MVVM pattern An Introduction by Peter Messenger Senior Developer – Qmastor
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Discover, Master, InfluenceSlide 1 SQL Server Compact Edition and the Entity Framework Rob Sanders Readify.
Charles Petzold Navigation.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
Proprietary and Confidential, Microsoft Corporation All rights reserved. Microsoft Confidential Silverlight Partner Summit Expression Encoder Media.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
1 Programming Concepts Module Code : CMV6107 Class Contact Hours: 45 hours (Lecture 15 hours) (Laboratory/Tutorial 30 hours) Module Value: 1 Textbook:
Open source administration software for education next generation student system Using the Kuali Student Configurable User Interaction Model & Framework.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Introduction to Mobile Programming. Slide 2 Overview Fundamentally, it all works the same way You get the SDK for the device (Droid, Windows, Apple) You.
Using Visual Basic 6.0 to Create Web-Based Database Applications
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and explore common elements Use the Ribbon Work with files Use.
An Introduction to Silverlight Matt Harrington Developer Evangelist, Microsoft October 20, 2011.
IE 411/511: Visual Programming for Industrial Applications
Silverlight Hitesh Trivedi Computer Science B.Tech A-Sec J.I.E.T.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
Charles Petzold Launchers and Choosers.
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic 6.0 and Visual Basic.NET are the latter’s support for true object-oriented.
Getting Started with Caliburn.Micro and Windows Phone 7 Gary Ewan Park Twitter: Blog:
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Microsoft Tech Days 2012 Cheezia: Developing a Windows Phone XNA Game Rodrigo Barretto Software Engineer - MCPD on Windows Phone
Chapter 3 – Part 1 Word Processing Writer for Linux CMPF 112 : COMPUTING SKILLS.
Object Oriented Software Development 9. Creating Graphical User Interfaces.
Windows Phone Application Development Using C#/XAML.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
CIS111 PC Literacy Getting Started with Windows XP.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
Adobe Flash CS4 – Illustrated Unit A: Getting Started with Adobe Flash.
Microsoft Access Lesson 2 Lexington Technology Center February 13, 2003 Bob Herring On the Web at
® IBM Software Group © 2006 IBM Corporation Web JSF Overview – RBD Tooling – for Web Development This unit introduces you to the aspects of the RBD tooling.
| Basel Visual Studio 2013 and Internet Explorer 11 Tips & Tricks For Developers Sascha Corti Technical Evangelist, Microsoft Switzerland
Building Windows Phone Applications with Silverlight Jaime Rodriguez
Leveraging Web Content Management in SharePoint 2013 Christina Wheeler.
Entity Framework Database Connection with ASP Notes from started/getting-started-with-ef-using-mvc/creating-an-
Spaso Lazarević Microsoft MVP Nova banka ad Banja Luka Building business application using Visual Studio 2013 LightSwitch.
Exploring Networked Data and Data Stores Lesson 3.
Understanding Mobile Devices, Interactions, and Tools Lesson 1.
THE SOURCE OF 4 TH & MAYOR: CODE, HACKS, TRICKS Jeff Wilcox Senior Software Development Engineer Microsoft SESSION CODE: WPH308 (c) 2011 Microsoft. All.
Daniel Tizon Semior Consultant, Microsoft Regional Director ANURA-SOLSTEAM Développez pour Windows Phone 7.
 Learn the mechanics of using App Inventor to build apps.  Learn how to design an app’s user interface with the App Inventor Designer, and its behavior.
Working in a Mobile App Development Environment Lesson 2.
Introduction to Silverlight Development Pavel Yosifovich CTO, Matrix Global; Senior Instructor, Hi-Tech College
Dive Into® Visual Basic 2010 Express
Building Windows 8 App.
Windows Phone 7 advanced services
1. Introduction to Visual Basic
Windows Phone Platform Integration Yochay Kiriaty
Understand Windows Forms Applications and Console-based Applications
Objectives To review concepts covered in the Windows Operating Systems units.
Getting Started with Microsoft Office 2010
Introducing Microsoft Office 2010
ASP.NET Imran Rashid CTO at ManiWeber Technologies.
Microsoft Windows 7 Basics
Ch07 生命週期(Life Cycle).
Presentation transcript:

Programering af mobile enheder Windows Phone Uge 9 Part 1

Windows Phone udvikling Centrale opstarts links for at komme igang: Links om Windows Phone 7 udviklings værktøjer - gratis: Windows Phone developer Center Microsoft Press ebook: Programming Windows Phone 7 (1013 sider) Windows Phone 7.5 Training Kit codeplex: The Windows Phone Toolkit Windows Phone development quickstarts - channel 9 Se desuden fronter materiale mappe

Design Resources for Windows Phone Application Bar Icons for Windows Phone 7 These icons are now installed locally as a part of the Windows Phone Developer Tools. You can find these icons on your computer after you have installed Windows Phone Developer Tools at the following locations: 32-bit computers - C:\Program Files\Microsoft SDKs\Windows Phone\v7.0\Icons 64-bit computers - C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.0\Icons UI Design and Interaction Guide for Windows Phone 7 Windows Phone introduces a touch user interface (UI) based on a design system codenamed Metro. This guide provides detailed information about UI elements and controls, UI system behaviors, and the interaction model for the touch interface. Designers and developers should read this guide to learn the dos and don’ts of UI implementations for their Windows Phone applications. Microsoft Expression Blend for Windows Phone Expression Blend for Windows Phone is installed as a stand-alone application with the Windows Phone Developer Tools and enables you to create Windows Phone applications using built-in templates. These templates enable you to preview application styles, set the theme, customize the application bar, define page navigation, optimize text input scopes, and select keyboards. Design Templates for Windows Phone 7 A collection of 28 layered Photoshop template files that can be used to create pixel-perfect application layouts, to help guide UI development, or to pitch an idea. These design templates showcase many controls that are a part of the Windows Phone Developer Tools. They also include examples of controls that are a part of Windows Phone, but are not available as a part of the Windows Phone Developer Tools. These additional templates are included to help designers and developers maintain a consistent look and feel across applications for system controls that developers wish to mimic.

Windows Phone 7 in 7 Silverlight and Windows Phone 7Windows Phone 7 in 7 Silverlight and Windows Phone 7 (Video intro)

Windows Phone 7 in 7 Silverlight and Windows Phone 7Windows Phone 7 in 7 Silverlight and Windows Phone 7 (Video intro)

Windows Phone 7 in 7 Silverlight and Windows Phone 7Windows Phone 7 in 7 Silverlight and Windows Phone 7 (Video intro)

Windows Phone 7 in 7 Silverlight and Windows Phone 7Windows Phone 7 in 7 Silverlight and Windows Phone 7 (Video intro)

Application Platform Overview for Windows Phone

Application Platform Overview for Windows Phone Framework

frames and pages The navigation experience in Windows Phone is similar to the navigation experience in Silverlight, but it has been extended to accommodate phone-specific features. The navigation model in Windows Phone is based on one PhoneApplicationFramecontrol. PhoneApplicationF rame contains one or more PhoneApplicationPage controls that users can navigate through.PhoneApplicationFrame is the main navigation control and supports navigation to and from pages. PhoneApplicationPageencapsulates content that can be navigated to by PhoneApplicationFrame.

navigating between pages The easiest way to perform page navigation is by using a HyperlinkButton control. You can use its NavigationUri property to navigate to a page. The following example shows how to navigate to a page named SecondPage.xaml. XAML If you don't want to use a HyperlinkButton, you can perform navigation by using the NavigationService class. This class contains several properties, methods, and events to help you with navigation. You can use the NavigationService.Navigate method to navigate to a specific page.

Sources of Data Data can exist in several locations. For example, read-only data can be stored in a local file within your applications. User-specific data can be stored locally in an area called isolated storage. Data can be stored on the Internet, which can be accessed through web services.

Windows Phone Execution Model

Terminologi Term Definition TombstoningThe procedure in which the operating system terminates an application’s process when the user navigates away from the application. The operating system maintains state information about the application. If the user navigates back to the application, the operating system restarts the application process and passes the state data back to the application. Page stateThe visual state of an application page. This includes such things as the scroll position of a ScrollViewer control and the contents of TextBox controls. Manage page state in the OnNavigatedTo and OnNavigatedFrom event handlers. Application stateThe state of the application that is not associated with a specific page. Application state is managed in the events exposed by the PhoneApplicationService class.PhoneApplicationService Persistent dataData that is shared by all instances of an application. Persistent data is saved and loaded from isolated storage. Application settings are an example of persistent data that should be preserved between application executions. Transient stateData that describes the state of a single instance of an application. Transient data is stored in the State dictionary provided by the PhoneApplicationService class. A tombstoned application restores its transient state when it is activated. An example of transient state is the data returned by a Web service query. This can be stored when an application is tombstoned to reduce the need to perform the query again if the user quickly returns to the application.StatePhoneApplicationService Some of the terms that are used to describe the Windows Phone execution model.

Execution Model Overview for Windows Phone Life Cycle of an Application Mere her:

Application Tombstoned What Causes an Application To Be Tombstoned? This section lists all of the actions that can cause an application to be deactivated and tombstoned. User Actions The following user actions may cause an application to be deactivated and tombstoned. The user navigates away from your application by pressing the Start button. The user stops interacting with the application and the phone’s lock screen engages. This behavior can be modified. For more information, see Idle Detection for Windows Phone.Idle Detection for Windows Phone Launchers and Choosers That Typically Do Not Cause an Application to be Tombstoned In order to improve performance around several common user scenarios, the following Launchers and Choosers will typically not cause your application to be tombstoned. However, it is still possible that your application will be tombstoned when using these, so your application should be designed to handle this possibility. Se her: PhotoChooserTask CameraCaptureTask MediaPlayerLauncher AddressChooserTask PhoneNumberChooserTask

Execution Model Best Practices for Windows Phone Se us/library/windowsphone/develop/ff817009(v=vs.105).aspx us/library/windowsphone/develop/ff817009(v=vs.105).aspx Herunder hvordan man gemmer og reetablere state: PhoneApplicationService.State PhoneApplicationPage.State Dictionary objekter som anvendes svarende lidt til Application og ViewState klasser i ASP.NET

Start på udvikling Centrale opstarts links for at komme igang: Windows Phone development quickstarts - channel Create Your First Silverlight Application for Windows Phone Windows Phone 7 in 7 Silverlight and Windows Phone 7 (Video intro) Application Platform Overview for Windows Phone Windows Phone 7 Training Course

Flere links om Windows Phone 7 Silverlight udvikling Windows Phone 7.5 Training Kit The Windows Phone Toolkit Data for Windows Phone Local database for Windows Phone Quickstart: Working with settings in Windows Phone SQLite for Windows Phone introduction-to-sqlite-client-for-windows-phone Local database for Windows Phone med LINQ to SQL

Flere links om Windows Phone 7 Silverlight udvikling Flere links fra tidligere – der dog ikke er testet for døde / ændret App Hub - windows phone development quickstarts Windows Phone Development Windows Phone 7 in 7 Silverlight and Windows Phone 7 (Video intro)Windows Phone 7 in 7 Silverlight and Windows Phone 7 Windows Phone How Do I Videos MSDN Differences Between Silverlight and Silverlight for Windows Phone (Tekst)Differences Between Silverlight and Silverlight for Windows Phone App Hub - getting data into your windows phone applications App Hub - navigation - silverlight quickstart for windows phone development Brugbar?? Getting Started with Silverlight and Windows Phone 7 DevelopmentGetting Started with Silverlight and Windows Phone 7 Development