Windows Phone allows apps to display live tiles and lock screen notifications. The Shell Tile API allows apps to create, update, and delete tiles from within the app. Tiles can display different content on the front and back and launch to specific pages. Apps can also update tiles and send notifications using background agents and push notifications. The app manifest declares support for lock screen notifications and backgrounds, but the user must select the app in settings. Notification text and counts are pulled from the primary tile. Apps can request permission to set the lock screen background image.
Windows Phone 8 - 2 Designing WP8 ApplicationsOliver Scheer
The document provides an overview of designing Windows Phone applications. It discusses designing apps on paper first before using tools. It recommends separating graphical design from programming. The Windows Phone SDK project templates and components are described. Key XAML layout elements like Grid and Pivot are demonstrated. The importance of alignment, styles, themes, and design-time data are emphasized. Data binding in XAML is explained, including different binding modes and the INotifyPropertyChanged interface.
Mob02 windows phone 8.1 app development DotNetCampus
Windows Phone 8.1 introduces greater convergence between the Windows and Windows Phone platforms. It allows apps to be developed once for both platforms using shared XAML and HTML/WinJS technologies. This brings developers nearly 100% API convergence. Existing Windows Phone 8 apps will continue to run, and Silverlight apps can be upgraded to access new 8.1 features without needing to be rewritten. The goal is to make it easier for developers to build apps that provide engaging experiences across devices while reusing as much code as possible.
Windows Phone 8 - 3 Building WP8 ApplicationsOliver Scheer
This document provides an overview and instructions for building Windows Phone applications. It covers page navigation, handling orientation changes, supporting different screen resolutions, localization, and using the Windows Phone toolkit. Key points include:
- Pages are navigated using a frame-based model similar to web pages. The NavigationService is used to navigate between pages.
- The ApplicationBar is used for common app actions. It handles orientation changes and resizing automatically.
- Layouts may need adjusting for landscape mode. A grid can help optimize placement of elements.
- Images and other assets should target the highest resolution (WXGA). Adaptive layout uses star sizing on rows.
- Localization is supported through resource
Windows Phone 8 - 5 Application LifecycleOliver Scheer
The document discusses the Windows Phone application lifecycle and how applications transition between different states such as running, dormant, tombstoned, and deactivated. It provides details on handling various lifecycle events through code examples. Key topics covered include launching and closing applications, dealing with dormant versus tombstoned states, using state dictionaries to save transient data, disabling idle detection to run under the lock screen, and enabling fast application resume to improve launch performance. The document contains code demos and best practices for developing Windows Phone applications that can smoothly handle different lifecycle states and transitions.
This document discusses Windows Universal Apps and provides guidance on creating apps that can run across Windows, Windows Phone, and Xbox. It covers templates for universal apps, sharing code and resources across platforms using shared projects, platform-specific APIs, storage, controls from third parties, and best practices for a unified user experience.
7 июля в рамках встречи Open Days Ingria выступил Михаил Цыганков, руководитель группы по работе с партнерами и технологическими предпринимателями Microsoft Russia.
Chameleons are reptiles that have scales instead of skin and eyes that move independently. They live primarily in trees in Africa and Madagascar and have a long, sticky tongue that can reach over 5 feet to catch insects. Chameleons are mostly nocturnal and lazy, coming out at night to hunt with their long tongue and staying in trees during the day, where they have few natural enemies.
Windows Phone 8 - 2 Designing WP8 ApplicationsOliver Scheer
The document provides an overview of designing Windows Phone applications. It discusses designing apps on paper first before using tools. It recommends separating graphical design from programming. The Windows Phone SDK project templates and components are described. Key XAML layout elements like Grid and Pivot are demonstrated. The importance of alignment, styles, themes, and design-time data are emphasized. Data binding in XAML is explained, including different binding modes and the INotifyPropertyChanged interface.
Mob02 windows phone 8.1 app development DotNetCampus
Windows Phone 8.1 introduces greater convergence between the Windows and Windows Phone platforms. It allows apps to be developed once for both platforms using shared XAML and HTML/WinJS technologies. This brings developers nearly 100% API convergence. Existing Windows Phone 8 apps will continue to run, and Silverlight apps can be upgraded to access new 8.1 features without needing to be rewritten. The goal is to make it easier for developers to build apps that provide engaging experiences across devices while reusing as much code as possible.
Windows Phone 8 - 3 Building WP8 ApplicationsOliver Scheer
This document provides an overview and instructions for building Windows Phone applications. It covers page navigation, handling orientation changes, supporting different screen resolutions, localization, and using the Windows Phone toolkit. Key points include:
- Pages are navigated using a frame-based model similar to web pages. The NavigationService is used to navigate between pages.
- The ApplicationBar is used for common app actions. It handles orientation changes and resizing automatically.
- Layouts may need adjusting for landscape mode. A grid can help optimize placement of elements.
- Images and other assets should target the highest resolution (WXGA). Adaptive layout uses star sizing on rows.
- Localization is supported through resource
Windows Phone 8 - 5 Application LifecycleOliver Scheer
The document discusses the Windows Phone application lifecycle and how applications transition between different states such as running, dormant, tombstoned, and deactivated. It provides details on handling various lifecycle events through code examples. Key topics covered include launching and closing applications, dealing with dormant versus tombstoned states, using state dictionaries to save transient data, disabling idle detection to run under the lock screen, and enabling fast application resume to improve launch performance. The document contains code demos and best practices for developing Windows Phone applications that can smoothly handle different lifecycle states and transitions.
This document discusses Windows Universal Apps and provides guidance on creating apps that can run across Windows, Windows Phone, and Xbox. It covers templates for universal apps, sharing code and resources across platforms using shared projects, platform-specific APIs, storage, controls from third parties, and best practices for a unified user experience.
7 июля в рамках встречи Open Days Ingria выступил Михаил Цыганков, руководитель группы по работе с партнерами и технологическими предпринимателями Microsoft Russia.
Chameleons are reptiles that have scales instead of skin and eyes that move independently. They live primarily in trees in Africa and Madagascar and have a long, sticky tongue that can reach over 5 feet to catch insects. Chameleons are mostly nocturnal and lazy, coming out at night to hunt with their long tongue and staying in trees during the day, where they have few natural enemies.
Este documento proporciona instrucciones en 8 pasos para que los docentes suban diapositivas a su sitio web. Los pasos incluyen registrarse en la página web, completar un formulario con datos personales, hacer clic en "Subir" para buscar el archivo de diapositivas en su computadora, esperar a que se cargue y agregar un título antes de copiar el código HTML para publicarlo en su sitio.
Presentation by Ken Krugler at the SDForum SAM SIG (Software Architecture & Modeling) meeting on Sept 22nd, 2010. This talk provides a brief introduction to Map-Reduce & Hadoop, then discusses challenges of implementing complex data processing using low-level Map-Reduce support, and a number of solutions.
Inspiratiecentrum biedt een mogelijkheid om op verschillende manier kennis te maken met systemisch werk: 1 inspiratiedag, 2 dagen of een jaaropleiding. Geschikt voor (professionele) begeleiders.
The document provides information about productronica, the 20th international trade fair for innovative electronics production taking place from November 12-15, 2013 in Munich, Germany. It will feature over 1,200 exhibitors from 39 countries showcasing the entire value chain of electronics production across 77,000 square meters of exhibition space. Attendees can see the latest innovations, network with industry experts, attend lectures and discussions on key topics, and discover new opportunities for their projects. The fair will also include several forums, special shows, and award ceremonies.
WaveMaker is a RAD tool that allows developers to create rich web applications using standard technologies like Spring, Dojo, Hibernate, and JAX-WS without complex coding, providing an intuitive visual interface for building database-driven and service-oriented applications. It generates pure Java web applications that can be deployed to various servers and cloud platforms. While suitable for rapid application development and frontend SOA projects, WaveMaker is less suitable for complex transactional systems or workflow applications that require traditional Java EE or BPM approaches.
The document discusses the four seasons - winter, spring, summer, and fall. It describes characteristics of each season such as typical weather patterns, dates, and holidays. It also lists common activities that people engage in during each season, such as sledding in winter, gardening in spring, swimming in summer, and football in fall.
MA thesis by Line Vittrup from April 2009. The thesis is a study of the wiki's ability to support the processes of knowledge creation - in this case in Wikipedia discusion pages.
Copyright: Line Vittrup
Presentation by Jenny Armitage and Penny Harrison at ULearn ICT conference in Christchurch New Zealand 09 on how to critically evaluate websites. Useful for teachers to use for classroom ideas and professional development.
Dev opsdayssv2014 devopsasrelationshipmanagementJames Urquhart
Slides from my talk at DevOpsDaysSV in 2014. Discusses how important it is to understand the relationships between components in a system, and some techniques of how to take action based to avoid or correct negative emergent behavior.
The document provides instructions to trace a circuit around an office by finding a red dot and clicking on it, then suggests trying it on a real circuit for Halloween as a joke.
The document provides guidance on developing government business cases. It explains that a business case is a tool used to justify why and how a proposed initiative or project should be undertaken. It discusses the key stages of developing a business case including analyzing requirements, selecting and evaluating options, and creating an implementation plan. The guide is intended to help civil servants understand business cases and develop robust cases to support decision making.
The document provides updates from various departments at Bloomingdale's South Coast Plaza. It thanks associates for their efforts during the challenging holiday season. It announces diversity council members and fundraising for a children's home. It also details upcoming sales, contests using "b-bucks", inventory preparation, and birthday/anniversary announcements. The newsletter aims to boost morale and communicate important information to Bloomingdale's associates.
The local government or council can’t afford to manage the waste management as efficient as today OR Council can’t pay the levy on your behalf anymore OR There is no one to collect our waste weekly anymore.
A kindergarten teacher wrote a grant to create a lending library of educational DVDs for her students to borrow and watch at home. The grant was approved, allowing the children to check out DVDs to help them learn letters and sounds while watching television. The DVDs have been popular with the excited children, who sing songs from them and show their engagement and learning. The library has helped many low-income and Spanish-speaking families whose parents cannot always help with homework.
Chassidy is exploring careers in finance, business management, and law/public safety. Her Holland codes indicate strengths in social, conventional, and enterprising careers. She is considering jobs as a bill/account collector, investigator, credit analyst, auditor, financial counselor, billing/cost clerk, tax preparer, court reporter, security guard, bailiff, or legal secretary based on her qualities, skills, and interests in teaching, learning, and personal development.
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive function. Exercise causes chemical changes in the brain that may help protect against mental illness and improve symptoms.
Windows Phone 8 - 8 Tiles and Lock Screen NotificationsOliver Scheer
Oliver Scheer's presentation discusses tiles and notifications in Windows Phone 8. It covers live tiles that provide glanceable information to users, how to create and update tiles using the local tiles API from within apps or background agents, scheduling tile updates, and adding lock screen notifications. The document provides code examples and discusses the various tile templates and sizes supported in Windows Phone 8.
This document discusses features of Windows Phone 8 that allow for deeper app integration, including live tiles, lock screen notifications, lenses, and setting lock screen backgrounds. It provides details on configuring app manifests and using APIs to enable these features, such as periodically updating live tiles on a schedule, displaying counts and text on the lock screen from tile updates, adding extensions to allow apps to provide lock screen backgrounds or act as lenses for the camera. Code examples are given for accessing images from the app package or local storage for tiles and backgrounds.
Este documento proporciona instrucciones en 8 pasos para que los docentes suban diapositivas a su sitio web. Los pasos incluyen registrarse en la página web, completar un formulario con datos personales, hacer clic en "Subir" para buscar el archivo de diapositivas en su computadora, esperar a que se cargue y agregar un título antes de copiar el código HTML para publicarlo en su sitio.
Presentation by Ken Krugler at the SDForum SAM SIG (Software Architecture & Modeling) meeting on Sept 22nd, 2010. This talk provides a brief introduction to Map-Reduce & Hadoop, then discusses challenges of implementing complex data processing using low-level Map-Reduce support, and a number of solutions.
Inspiratiecentrum biedt een mogelijkheid om op verschillende manier kennis te maken met systemisch werk: 1 inspiratiedag, 2 dagen of een jaaropleiding. Geschikt voor (professionele) begeleiders.
The document provides information about productronica, the 20th international trade fair for innovative electronics production taking place from November 12-15, 2013 in Munich, Germany. It will feature over 1,200 exhibitors from 39 countries showcasing the entire value chain of electronics production across 77,000 square meters of exhibition space. Attendees can see the latest innovations, network with industry experts, attend lectures and discussions on key topics, and discover new opportunities for their projects. The fair will also include several forums, special shows, and award ceremonies.
WaveMaker is a RAD tool that allows developers to create rich web applications using standard technologies like Spring, Dojo, Hibernate, and JAX-WS without complex coding, providing an intuitive visual interface for building database-driven and service-oriented applications. It generates pure Java web applications that can be deployed to various servers and cloud platforms. While suitable for rapid application development and frontend SOA projects, WaveMaker is less suitable for complex transactional systems or workflow applications that require traditional Java EE or BPM approaches.
The document discusses the four seasons - winter, spring, summer, and fall. It describes characteristics of each season such as typical weather patterns, dates, and holidays. It also lists common activities that people engage in during each season, such as sledding in winter, gardening in spring, swimming in summer, and football in fall.
MA thesis by Line Vittrup from April 2009. The thesis is a study of the wiki's ability to support the processes of knowledge creation - in this case in Wikipedia discusion pages.
Copyright: Line Vittrup
Presentation by Jenny Armitage and Penny Harrison at ULearn ICT conference in Christchurch New Zealand 09 on how to critically evaluate websites. Useful for teachers to use for classroom ideas and professional development.
Dev opsdayssv2014 devopsasrelationshipmanagementJames Urquhart
Slides from my talk at DevOpsDaysSV in 2014. Discusses how important it is to understand the relationships between components in a system, and some techniques of how to take action based to avoid or correct negative emergent behavior.
The document provides instructions to trace a circuit around an office by finding a red dot and clicking on it, then suggests trying it on a real circuit for Halloween as a joke.
The document provides guidance on developing government business cases. It explains that a business case is a tool used to justify why and how a proposed initiative or project should be undertaken. It discusses the key stages of developing a business case including analyzing requirements, selecting and evaluating options, and creating an implementation plan. The guide is intended to help civil servants understand business cases and develop robust cases to support decision making.
The document provides updates from various departments at Bloomingdale's South Coast Plaza. It thanks associates for their efforts during the challenging holiday season. It announces diversity council members and fundraising for a children's home. It also details upcoming sales, contests using "b-bucks", inventory preparation, and birthday/anniversary announcements. The newsletter aims to boost morale and communicate important information to Bloomingdale's associates.
The local government or council can’t afford to manage the waste management as efficient as today OR Council can’t pay the levy on your behalf anymore OR There is no one to collect our waste weekly anymore.
A kindergarten teacher wrote a grant to create a lending library of educational DVDs for her students to borrow and watch at home. The grant was approved, allowing the children to check out DVDs to help them learn letters and sounds while watching television. The DVDs have been popular with the excited children, who sing songs from them and show their engagement and learning. The library has helped many low-income and Spanish-speaking families whose parents cannot always help with homework.
Chassidy is exploring careers in finance, business management, and law/public safety. Her Holland codes indicate strengths in social, conventional, and enterprising careers. She is considering jobs as a bill/account collector, investigator, credit analyst, auditor, financial counselor, billing/cost clerk, tax preparer, court reporter, security guard, bailiff, or legal secretary based on her qualities, skills, and interests in teaching, learning, and personal development.
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive function. Exercise causes chemical changes in the brain that may help protect against mental illness and improve symptoms.
Windows Phone 8 - 8 Tiles and Lock Screen NotificationsOliver Scheer
Oliver Scheer's presentation discusses tiles and notifications in Windows Phone 8. It covers live tiles that provide glanceable information to users, how to create and update tiles using the local tiles API from within apps or background agents, scheduling tile updates, and adding lock screen notifications. The document provides code examples and discusses the various tile templates and sizes supported in Windows Phone 8.
This document discusses features of Windows Phone 8 that allow for deeper app integration, including live tiles, lock screen notifications, lenses, and setting lock screen backgrounds. It provides details on configuring app manifests and using APIs to enable these features, such as periodically updating live tiles on a schedule, displaying counts and text on the lock screen from tile updates, adding extensions to allow apps to provide lock screen backgrounds or act as lenses for the camera. Code examples are given for accessing images from the app package or local storage for tiles and backgrounds.
The document discusses tiles and lock screen notifications in Windows Phone 8. It covers tiles including tile templates, sizes, creating and updating tiles using the local tile API and background agents. It also discusses lock screen notifications including declaring intent in the app manifest, updating the lock screen icon count and text, and allowing apps to provide lock screen backgrounds.
Windows Phone 8 - 17 The Windows Phone StoreOliver Scheer
This document provides an overview of developing applications for the Windows Phone Store. It discusses performance analysis, creating applications, configuring applications, testing with the Store Testing Tool, distributing applications, monetizing with the Store, and submitting applications. Topics include using the performance analysis tool, anatomy of the XAP file, configuring the app manifest, Store submission process, payment options for paid apps, using in-app purchases, and private beta testing.
The document discusses the Windows Phone Store and distributing applications through it. It covers registering as a developer, submitting apps for validation testing, setting prices and payment options, using in-app purchases, and private beta testing. It also discusses optimizing app performance, using the store test kit to test apps, and including advertising through the Advertising SDK.
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
UiPath recently released the 2021.4 version with a lot of new features across various products. In this session we get more insight and explore ways to use the new features in your projects. Advantages for using the new release will be discussed and practical examples will be shared where necessary.
In this 1,5 hours session we will go through the topics below and explore each item:
• Introduction to new releases across Studio, StudioX, Studio Pro, UiPath Assistant
• How to upgrade to latest version?
• UIAutomation – Changes and modifications
• Modern Experience
• New activities/features
• Modifications in StudioX, UiPath Assistant
This session is interactive, including demos and Q&A.
Introduction to Android for Quality EngineersAhmed Faidy
This document provides an introduction and overview of key concepts for quality engineers working with Android. It discusses Android's diversity across devices, operating system versions, and screen sizes. It covers building basic app interfaces using controls, navigation patterns, and the activity lifecycle. The document also provides tips on app installation, onboarding users, content design, notifications, performance testing, and Google Play listings. It highlights don'ts for user experience and showcases inspiring Android apps. The goal is to equip quality engineers with foundational Android knowledge for developing high-quality apps.
Modello is an open source, modular suite of applications for Tizen's in-vehicle infotainment (IVI) platform. It provides a fully functional demo environment for showcasing Tizen IVI capabilities. Key features of Modello include a home screen, app launcher, HVAC controls, dashboard, settings menu, navigation, media player, phone integration, and theming. Future plans include expanded multimedia, dashboard, localization support. The document outlines how to install Modello and get involved in its development.
This document provides an overview of application lifecycles and background processes in Windows 8 apps. It discusses how apps transition between running, suspended and not running states. It also covers implementing live tiles, badges and notifications to keep users engaged. Best practices are outlined for saving state and restoring user sessions. Search contracts and background tasks for updating live tiles are demonstrated.
Navigation between pages in Windows Phone applications is handled using a frame-based model where each page is identified by a URI. The hardware back button navigates back to the previous page by default, but this behavior can be overridden. Data can be passed between pages using query strings or by storing objects in the application class. Multiple screen resolutions are supported through automatic scaling, and layouts can be adapted for both portrait and landscape modes using grids and orientation change events. Localization enables applications to support many languages through resource files for each culture. The Windows Phone Toolkit provides additional controls and functionality through NuGet packages.
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
Are you curious about how to improve your app-making skills? Or do you want to know how to make your mobile apps work smoothly?
Join us to discover what we've learned from our experience with Mendix Native Mobile development. We'll share our knowledge on handling tough issues like syncing data and making your app run faster. We have great advice that will make you excited to start making apps.
And if you're struggling with getting your app into the app store, we have a solution. We're going to share a special trick that simplifies the app submission process. Say goodbye to the stress of app release day. We're about to reveal a secret that makes submitting your app much easier. Stay tuned for this game-changing tip!
In this MWC/ADC 2013 presentation Vaughan Knight, Developer Technical Support Manager at Nokia, provides an overview to differences in Live Tiles between Windows Phone 7 and Windows Phone 8. He demonstrates the flip, iconic, and cycle animation options in Windows Phone 8 Live Tiles, before providing a coding demonstration. Vaughan then reviews the Lock Screen features — background and notification — before also providing a coding demonstration for these features. He concludes be describing other update options and reviewing the value of various notifications.
For more information see www.developer.nokia.com/windowsphone.
Find out more about the developer features of Nokia Lumia smartphones in the Lumia App Labs: http://www.developer.nokia.com/Develop/Windows_Phone/Learn/
Syncitall is a program that allows users to sync files across multiple cloud storage services like Google Drive, OneDrive, and Dropbox. It provides a common interface to access files from different cloud storages simultaneously. The program uses APIs to connect to cloud services and Selenium to automate browser authorization. It splits large files into parts for uploading across storages. The graphical user interface is built using PyQt and allows viewing, moving, deleting, and downloading files from connected cloud accounts in one place.
- The document provides steps to introduce Anypoint Studio by creating a simple HTTP request-response application that receives a request, logs the payload, modifies and returns the payload as a response.
- It describes opening Studio, creating a new project called "Basic Tutorial", modeling the application flow using HTTP inbound, logger and set payload blocks, configuring the elements, running and testing the application locally, and then stopping the application.
PhoneGap is a framework for building cross-platform mobile apps using HTML, CSS and JavaScript. It allows accessing native device features like the camera and contacts via JavaScript APIs. Apps built with PhoneGap can run on platforms like iOS, Android, Windows Phone and Blackberry. While the apps have a native look and feel, they are actually wrapped webviews displaying web-based content. The document discusses PhoneGap's capabilities, considerations around performance and differences in platform styling. It also provides tips on tools for easier compilation, dealing with memory leaks and deploying apps to app stores.
The document provides an overview of the 2014 Android I/O conference. It outlines the key topics covered which include updates to Android Wear, TV, Auto, Glass and the Google Play services. Material design was highlighted as a new visual language for developers. Improvements in ART, notifications, recent apps and power efficiency in the Android L preview were also summarized. The document concludes with mentioning other topics like cloud computing, Android Studio, personal unlocking and the Nest API.
Similar to 07.Notifications & Reminder, Contact (20)
The document discusses location and maps APIs for Windows Phone 8. It covers how to get the current location of the phone, track location continuously, and run location tracking apps in the background. It also discusses how to use the map control to display maps, specify the map center and zoom level, and animate map display. Pushpins and overlays are described as ways to add points of interest to maps. The document provides code examples for key tasks.
The document discusses various networking APIs available in Windows Phone for making HTTP requests and accessing web services, including WebClient, HttpWebRequest, sockets, and OData. It provides code examples for making asynchronous requests and handling responses. Key points covered include support for authentication in Windows Phone 8 and strategies for efficient data transfer such as using JSON serialization.
LINQ to SQL allows accessing local SQLite databases on Windows Phone. It supports queries, inserts, updates and deletes through a data context. The database schema can be upgraded by adding or removing tables and columns. Performance best practices include keeping change sets small and submitting changes frequently to avoid data loss.
09.Local Database Files and Storage on WPNguyen Tuan
This document provides an overview of local data storage options for Windows apps, including isolated storage, file I/O, settings storage, SQLite database, and external storage. It discusses using the local, installation, and shared application folders to store files. It also covers serialization, file associations, and APIs for reading and writing files like IsolatedStorageFile and StorageFile. The document demonstrates saving data to isolated storage, settings, and a SQLite database and loading data from these sources. It recommends SQLite as a local database option and provides instructions for adding SQLite support to a project.
This document provides an overview of push notifications and background tasks in Windows Phone applications. It discusses the three types of notifications (raw, toast, and tile), and how to send notification messages to update tiles, display toasts, or pass data to running apps. It also covers creating background tasks using periodic and resource-intensive agents to perform work when apps are not running, and techniques for sharing data between apps and agents. The document includes code samples and schemas for sending different notification message types.
The document discusses programming media on Windows Phone, including:
- Using the camera to take photos and manipulate the video stream.
- Accessing the microphone to record audio.
- Interacting with sensors like the motion sensor.
- Playing video content and streaming video.
- Using text to speech and speech recognition in Windows Phone applications.
The document provides an introduction to using Blend expressions for transformation and animation. It then covers various in-box controls in UWP including buttons, text boxes, progress indicators, and lists. It discusses layout controls like canvas, stack panel, and grid. The document also covers XAML syntax and attributes. Finally, it discusses animations and storyboards, behaviors, styling and templating, data binding, and element binding.
This document provides an overview and agenda for building Windows Phone applications using various controls like buttons, text boxes, lists and list items. It discusses core controls, styles, templates, user controls, list controls and templates, grouping data, progressive item rendering and references for additional information. The goal is to introduce developers to essential controls and best practices for creating user interfaces and handling lists of data on Windows Phone.
The document discusses Windows Phone design principles and XAML layout. It covers the five key Windows Phone design principles of clean, light, open, fast, celebrate typography, alive in motion, content not chrome, and authentically digital. It explains how WP8 uses XAML to express the user interface design and that this is defined in a XAML file. It also mentions using design-time data in Blend and databinding elements to data properties using XAML.
2. Agenda
Tiles in Windows Phone 8
Local Tiles API
Updating Tiles from ShellTileSchedule
Updating Tiles from Background Agents
Lock screen notifications for Windows Phone
Lock screen background for Windows Phone
3. Live Tiles
• Windows phone has the unique ability to provide the
end user glanceableaccess to the information they
care most about, via Live Tiles
• Push Notifications offer developers a way to send
timely information
to their applications even when they are not running
• In Windows Phone 7.1 and later, the Local Tiles API
allows apps to create and update tiles
4. Live Tiles
• Shortcuts to apps
• All apps have at least one tile, known as the default tile
• Created by user pinning your app to the Start Screen
• Launch to app main page
• Apps can create secondary tiles
• Created programmatically
• Launch to any page in your app
• Static or dynamic
• Tiles can be updated
• Application code
• Background agents
• Push Notifications
• In Windows Phone 7.1, only one tile size for third party apps
• In Windows Phone 8.0, you can support three different tile sizes
4
5. 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)
• Iconic – clean iconic layout designed to
reflect Windows Phone design principles
• Cycle – cycles through up to nine images
5
6. Tile Content
• The Tile content is built up from a fixed set of data properties
• Data Properties for Text elements, Count elements and Image elements
• Content that displays depends on the template you choose and the tile size
• Not all elements need to be used
• Not all elements used in all templates
• WXGA resolution Image sizes
• Automatically scaled for WVGA and 720p
6
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
7. Flip Tile Template
• Flips from front to
back
• Small size does not
flip
• Medium size is the
same as the WP7.1
tile template
8/16/2014 7
8. Cycle Tile Template
• Cycles between from 1 to 9 images
• Small tile does not cycle
8/16/2014 8
9. Iconic Tile Template
• Displays a small image in the center of the Tile and is designed to
reflect Windows Phone design principles
8/16/2014 9
10. Primary and Secondary Tiles
• Application Tile
• Can be created only when user taps and holds the application
name in the Application List and then selects pin to start
• Tile template and Properties are set initially in the Application
Manifest
• Template cannot be changed programmatically
• Secondary Tile
• Can be created only as the result of user input in an application
• The application then uses the Create(Uri, ShellTileData) method
to createa Tile on Start
• Because the UI will navigate to Start when a new secondary Tile
is created, only one secondary Tile can be created at a time
11. Defining the Application Tile
• Define your images
• The standard new project
templates already contain
placeholder images of the correct
size
• FlipCycleTile*.png used for the Flip
and Cycle Tile templates
• IconicTile*.png used for the Iconic
Tile templates
• Replace these images with your
own artwork
8/16/2014 11
12. Defining the Application Tile in the Application
Manifest
• Double-click WMAppManifest.xml to open using the new Manifest
Editor
• On the Application UI tab, set the Tile Template, optional Title and
Tile Images
8/16/2014 12
14. Creating and Updating Tiles with the Local Tile API
• Localtileupdates(these are*not*push)
• Fullcontrolofallproperties whenyourapp
isintheforeground orbackground
• ManageSecondaryTiles
• Create/Update/Delete
• Launchesdirectly topage/experience
15. Creating Tiles
public static void SetTile(RecipeDataItem item, string NavSource)
{
FlipTileData tileData = new FlipTileData()
{
//Front square data
Title = item.Title,
BackgroundImage = new Uri("ms-appx:///background1.png", UriKind.Relative),
SmallBackgroundImage = new Uri("ms-appx:///smallbackground1.png", UriKind.Relative),
//Back square data
BackTitle = item.Title,
BackContent = item.Ingredients,
BackBackgroundImage = new Uri("ms-appx:///backbackground1.png", UriKind.Relative),
//Wide tile data
WideBackgroundImage = new Uri("ms-appx:///widebackground1.png", UriKind.Relative),
WideBackBackgroundImage = new Uri("ms-appx:///widebackbackground1.png", UriKind.Relative),
WideBackContent = item.Directions
};
// Create Tile and pin it to Start. Causes a navigation to Start and a deactivation of our application
ShellTile.Create(new Uri("/RecipePage.xaml?DefaultTitle=FromTile", UriKind.Relative), tileData, true);
}
16. Updating Tiles
// Find the Tile we want to update.
ShellTile TileToFind = ShellTile.ActiveTiles.FirstOrDefault(
x => x.NavigationUri.ToString().Contains("DefaultTitle=FromTile"));
// If the Tile was found, then update the Title.
if (TileToFind != null)
{
FlipTileData NewTileData = new FlipTileData
{
Title = textBoxTitle.Text
};
TileToFind.Update(NewTileData);
}
17. Updating the Application Tile
public static void UpdateMainTile(RecipeDataGroup group)
{
//Get application's main tile – application tile always first item in the ActiveTiles collection
//whether it is pinned or not
var mainTile = ShellTile.ActiveTiles.FirstOrDefault();
IconicTileData tileData = new IconicTileData()
{
Count = group.RecipesCount,
BackgroundColor = Color.FromArgb(255, 195, 61, 39),
Title = "Contoso Cookbooks",
IconImage =
new Uri("ms-appx:///local/shared/shellcontent/newMedLogo.png", UriKind.RelativeOrAbsolute),
SmallIconImage =
new Uri("ms-appx:///local/shared/shellcontent/newSmlLogo.png", UriKind.RelativeOrAbsolute),
WideContent1 = "Recent activity:",
WideContent2 = "Browsed " + group.Title + " group",
WideContent3 = "with total of " + group.RecipesCount + " recipes"
};
mainTile.Update(tileData);
}
19. Updating Tiles with a Tile Schedule
• Periodically updates the tile image without pushing message though
• Can only update the image on the front of the tile
• Updates images only from the web, not from the app local store
• Sets up notification channel and binds it to a tile notification
• Few limitations
• Image size must be less than 150 KB (up from 80KB in WP7.1)
• Download time must not exceed 45 seconds (up from 30 seconds in 7.1)
• Lowest update time resolution is 60 minutes
• If the schedule for an indefinite or finite number of updates fails too many times, OS will cancel it
• Update recurrence can by Onetime, EveryHour, EveryDay, EveryWeek
or EveryMonth
19
20. Scheduling Tile Update
20
public partial class MainPage : PhoneApplicationPage
{
ShellTileSchedule SampleTileSchedule = new ShellTileSchedule();
private void buttonIndefinite_Click(object sender, RoutedEventArgs e)
{
// Updates will happen on a fixed interval.
SampleTileSchedule.Recurrence = UpdateRecurrence.Interval;
// Updates will happen every hour.
// Because MaxUpdateCount is not set, the schedule will run indefinitely.
SampleTileSchedule.Interval = UpdateInterval.EveryHour;
SampleTileSchedule.RemoteImageUri = new
Uri(@"http://www.weather.gov/forecasts/graphical/images/conus/MaxT1_conus.png");
// Updates will apply to the application tile.
SampleTileSchedule.Start();
}
}
21. Scheduling Secondary Tile Updates
21
foreach (ShellTile TileToSchedule in ShellTile.ActiveTiles)
{
ShellTileSchedule mySchedule = new ShellTileSchedule(TileToSchedule);
mySchedule.Interval = UpdateInterval.EveryHour;
mySchedule.Recurrence = UpdateRecurrence.Interval;
mySchedule.RemoteImageUri = imageURI;
mySchedule.Start();
}
• Can also schedule updates for secondary tiles by passing the ShellTile
object into the ShellTileSchedule constructor
22. Updating Tiles From a Background Agent
• In Windows Phone OS 7.0, only way of updatingLive Tiles was from a
Tile Schedule
or from Push Notifications
• Tile Schedule needs to fetch images from a web URI
• Push Notifications require you to implement a backend service
• To have control of shell tiles when the app is not running without
using Push Notifications, a good solution is a Background Agent
• Use the ShellTile API to locate and update tiles
25. • End user can now select any app
that has been enabled for lock
screen notifications to show
detailed status
• Select any five apps to show quick
status (icon and count)
• For your app to be included in the
notifications area, all you have to
do is
• Create an icon
• Declare the app’s intent in the
application manifest file
8/16/2014 25
Lock Screen on Windows Phone 8
26. • Create a 24 x 24 pixel PNG image that will be used to identify your app
on the lock screen
•Contain only white pixels and transparent background
• Default name is LockIcon.png
•Use this name and you do not have to explicitly declare it in the application
manifest
• If you use another name,
•Edit WMAppManifest.xml using
the XML editor
•Change the DeviceLockImageURI
element which is listed inside the
Tokens element:
Creating a lock screen icon
8/16/2014 26
<Tokens>
<PrimaryToken TokenID="PhoneApp4Token" TaskName="_default">
<TemplateFlip>
…
<DeviceLockImageURI>MyLockIcon.png</DeviceLockImageURI>
</TemplateFlip>
</PrimaryToken>
</Tokens>
27. • Edit WMAppManifest.xml with the XML editor
•Find the <Extensions> element. If not there, create it immediately following the
<Tokens> element.
•Inside the <Extensions> element, create <Extension> elements for each feature
you want to support: Icon Count and/or Text
<Extensions>
<Extension ExtensionName="LockScreen_Notification_IconCount"
ConsumerID="{111DFF24-AA15-4A96-8006-2BFF8122084F}" TaskID="_default" />
<Extension ExtensionName="LockScreen_Notification_TextField"
ConsumerID="{111DFF24-AA15-4A96-8006-2BFF8122084F}" TaskID="_default" />
</Extensions>
Updating the Application Manifest File
8/16/2014 27
28. • Lock Screen Icon Count and Text is taken directly from your applications
primary tile
• Secondary tiles are not used for this feature
• Information is only displayed on the lock screen if the tile contains the
information
• For example, a count will only be displayed if the tile displays it
• Primary tile does not need to be pinned to the Start Screen for lock screen
notifications to be enabled
• Update Primary Tile content in the usual way
• LocalShell Tiles API
• Push Notifications
How to Update the Icon Count and Text
8/16/2014 28
29. • Simulation Dashboard allows
you to display the Lock Screen
on the emulator
• Access the Simulation
Dashboard from the Visual
Studio Tools menu
Testing with the Simulation Dashboard
8/16/2014 29
32. • End user can choose a background image
from their own photos or search for an
image on Bing
• In addition, they can choose an app to be
the background image provider
• For your app to be a lock screen
background provider, all you have to do is
• Declare the app’s intent in the application
manifest file
• Write code to change the background image
8/16/2014 32
Lock Screen Background
33. • Edit WMAppManifest.xml with the XML editor
•Find the <Extensions> element. If not there, create it immediately following the
<Tokens> element.
•Inside the <Extensions> element, create an <Extension> element for
LockScreen_Background
<Extensions>
<Extension ExtensionName="LockScreen_Background"
ConsumerID="{111DFF24-AA15-4A96-8006-2BFF8122084F}" TaskID="_default" />
</Extensions>
Updating the Application Manifest File
8/16/2014 33
34. Write Code to Change the Lock Screen Background
private async void lockHelper(Uri backgroundImageUri, string backgroundAction)
{
try
{
//If you're not the provider, this call will prompt the user for permission.
//Calling RequestAccessAsync from a background agent is not allowed.
var op = await LockScreenManager.RequestAccessAsync();
//Check the status to make sure we were given permission.
bool isProvider = LockScreenManager.IsProvidedByCurrentApplication;
if (isProvider)
{
//Do the update.
Windows.Phone.System.UserProfile.LockScreen.SetImageUri(backgroundImageUri);
System.Diagnostics.Debug.WriteLine("New current image set to {0}", backgroundImageUri.ToString());
}
else
{
MessageBox.Show("You said no, so I can't update your background.");
}
}
catch (System.Exception ex)
{
System.Diagnostics.Debug.WriteLine(ex.ToString());
}
}
35. • Call to
LockScreenManager.RequestAccess
Async is required
•Checks if your app is already the selected
lock screen background provider
•If not, prompts user for permission to make
your app the selected provider
User Confirmation
8/16/2014 35
//If you're not the provider, this call will prompt the user for permission.
//Calling RequestAccessAsync from a background agent is not allowed.
var op = await LockScreenManager.RequestAccessAsync();
36. • To use an image that you shipped in your app, use ms-appx:///
Uri imageUri = new Uri("ms-appx:///background1.png",
UriKind.RelativeOrAbsolute);
LockScreen.SetImageUri(imageUri);
• To use an image stored in the Local Folder, use ms-
appdata:///local/shared/shellcontent
• Must be in or below the /shared/shellcontent subfolder
Uri imageUri = new Uri("ms-
appdata:///local/shared/shellcontent/background2.png",
UriKind.RelativeOrAbsolute);
LockScreen.SetImageUri(imageUri);
Accessing Local Images
8/16/2014 36
38. Summary
• Shell Tile API allows easy manipulation of tiles from within an application
• Tiles can have a front and a back, and apps can have secondary tiles
• Tiles and Toasts can launch into a specific page within the app
• Only the user can decide to pin an apps’ primary tile to the Start Screen, not from code
• App can declare in the App manifest that it can be a lock screen notification provider
• User must select apps to display lock screen notifications from phone Settings
• Optionally supply count and/or text – these are pulled directly from the primary tile
• App can also declare that it can be a lock screen background provider
• Code used to request permission from the user and to change the lock screen
background