SlideShare ist ein Scribd-Unternehmen logo
1 von 32
WP8 TILES AND LOCK SCREEN
NOTIFICATIONS
1. Tiles in Windows Phone 8
2. Local Tiles API
3. Updating Tiles from ShellTileSchedule
4. Updating Tiles from Background Agents
5. Lock screen notifications for Windows Phone
6. Lock screen background for Windows Phone
FOLLOW US
Twitter : @chothanihitesh
Slideshare : http://www.slideshare.net/Chothani-Hitesh
Email : chothani.hitesh@gmail.com
Support : windows.chothani@live.com
LinkedIn : in.linkedin.com/pub/hiteshchothani/6b/311/2b8
W8 Publisher : AppStudios
WP Publisher : AppStudios
Website : www.appmobinfotech.com
TILES ON WINDOWS PHONE 8
LIVE TILES ON WINDOWS PHONE
 Windows phone has the unique ability to provide
the end user glanceable access 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
LIVE TILES 10
 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
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
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
FLIP TILE TEMPLATE
 Flips from front to back
 Small size does not flip
 Medium size is the same
as the WP7.1 tile
template
CYCLE TILE TEMPLATE
 Cycles between from 1 to 9 images
 Small tile does not cycle
ICONIC TILE TEMPLATE
 Displays a small image in the center of the Tile and is designed to reflect
Windows Phone design principles
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 create a 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
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
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
APPLICATION TILE
CREATING AND UPDATING TILES WITH
THE LOCAL TILE API
 Local tile updates (these are *not* push)
 Full control of all properties when your app is in
the foreground or background
 Manage Secondary Tiles •Create/Update/Delete
 Launches directly to page/experience
CREATING TILES
UPDATING TILES
UPDATING THE APPLICATION TILE
UPDATING TILES FROM A BACKGROUND
AGENT
 In Windows Phone OS 7.0, only way of updating Live 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
UPDATING TILES FROM A
BACKGROUND AGENT
LOCK SCREEN NOTIFICATIONS ON WINDOWS
PHONE
LOCK SCREEN ON WINDOWS PHONE 7
 On Windows Phone 7, Notifications area was
reserved to first party apps
 Next Calendar Appointment
 Icons and counts for missed calls, new email,
new SMS
 User could select background image
 From supplied Wallpapers
 From their own pictures
LOCK SCREEN ON WINDOWS PHONE 8
 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
UPDATING THE APPLICATION MANIFEST
FILE
 Edit WMAppManifest.xml with the XML editor
HOW TO UPDATE THE ICON COUNT AND
TEXT
 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
 Local Shell Tiles API
 Push Notifications
TESTING WITH THE SIMULATION
DASHBOARD
 Simulation Dashboard allows you to display
the Lock Screen on the emulator
 Access the Simulation Dashboard from the
Visual Studio Tools menu
LOCK SCREEN NOTIFICATIONS
LOCK SCREEN BACKGROUND
LOCK SCREEN BACKGROUND ON
WINDOWS PHONE 8
 End user can choose a background image from their own photos or search for one 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
UPDATING THE APPLICATION MANIFEST
FILE
 Edit WMAppManifest.xml with the XML editor
WRITE CODE TO CHANGE THE LOCK
SCREEN BACKGROUND
USER CONFIRMATION
ACCESSING LOCAL IMAGES
Thank You

Weitere ähnliche Inhalte

Was ist angesagt?

Mobile game testing report
Mobile game testing reportMobile game testing report
Mobile game testing reportQA Madness
 
Developer's Guide to Windows Phone App Marketing and Monetization (AppCampus ...
Developer's Guide to Windows Phone App Marketing and Monetization (AppCampus ...Developer's Guide to Windows Phone App Marketing and Monetization (AppCampus ...
Developer's Guide to Windows Phone App Marketing and Monetization (AppCampus ...Alan Mendelevich
 
A lap around Windows Phone 8.1
A lap around Windows Phone 8.1A lap around Windows Phone 8.1
A lap around Windows Phone 8.1Nico Vermeir
 
follow-app BOOTCAMP 2: Building windows phone applications with visual studio...
follow-app BOOTCAMP 2: Building windows phone applications with visual studio...follow-app BOOTCAMP 2: Building windows phone applications with visual studio...
follow-app BOOTCAMP 2: Building windows phone applications with visual studio...QIRIS
 
Mobile web site testing report
Mobile web site testing reportMobile web site testing report
Mobile web site testing reportQA Madness
 
Using flash for_mobile_game_development(3)
Using flash for_mobile_game_development(3)Using flash for_mobile_game_development(3)
Using flash for_mobile_game_development(3)Joseph Burchett
 
Develop for Windows Phone Mango and Windows 8: our Tips
Develop for Windows Phone Mango and Windows 8: our TipsDevelop for Windows Phone Mango and Windows 8: our Tips
Develop for Windows Phone Mango and Windows 8: our TipsSoumow Dollon
 
Google I/O 2016 replay - Android N Development
Google I/O 2016 replay - Android N DevelopmentGoogle I/O 2016 replay - Android N Development
Google I/O 2016 replay - Android N DevelopmentTowhidul Haque Roni
 
Android styles and themes
Android   styles and themesAndroid   styles and themes
Android styles and themesDeepa Rani
 
Mobile application testing report
Mobile application testing reportMobile application testing report
Mobile application testing reportQA Madness
 
Windows phone 7 development
Windows phone 7 developmentWindows phone 7 development
Windows phone 7 developmentChris Coneybeer
 
I phone first app ducat
I phone first app ducatI phone first app ducat
I phone first app ducatPragati Singh
 
Get started with watch kit development
Get started with watch kit developmentGet started with watch kit development
Get started with watch kit developmentMindfire Solutions
 
Android the first app - hello world - copy
Android   the first app - hello world - copyAndroid   the first app - hello world - copy
Android the first app - hello world - copyDeepa Rani
 

Was ist angesagt? (20)

Mobile game testing report
Mobile game testing reportMobile game testing report
Mobile game testing report
 
Developer's Guide to Windows Phone App Marketing and Monetization (AppCampus ...
Developer's Guide to Windows Phone App Marketing and Monetization (AppCampus ...Developer's Guide to Windows Phone App Marketing and Monetization (AppCampus ...
Developer's Guide to Windows Phone App Marketing and Monetization (AppCampus ...
 
A lap around Windows Phone 8.1
A lap around Windows Phone 8.1A lap around Windows Phone 8.1
A lap around Windows Phone 8.1
 
follow-app BOOTCAMP 2: Building windows phone applications with visual studio...
follow-app BOOTCAMP 2: Building windows phone applications with visual studio...follow-app BOOTCAMP 2: Building windows phone applications with visual studio...
follow-app BOOTCAMP 2: Building windows phone applications with visual studio...
 
Mobile web site testing report
Mobile web site testing reportMobile web site testing report
Mobile web site testing report
 
Using flash for_mobile_game_development(3)
Using flash for_mobile_game_development(3)Using flash for_mobile_game_development(3)
Using flash for_mobile_game_development(3)
 
Develop for Windows Phone Mango and Windows 8: our Tips
Develop for Windows Phone Mango and Windows 8: our TipsDevelop for Windows Phone Mango and Windows 8: our Tips
Develop for Windows Phone Mango and Windows 8: our Tips
 
Google I/O 2016 replay - Android N Development
Google I/O 2016 replay - Android N DevelopmentGoogle I/O 2016 replay - Android N Development
Google I/O 2016 replay - Android N Development
 
Android development part 2
Android development part 2Android development part 2
Android development part 2
 
Desarrollo AIR Mobile
Desarrollo AIR MobileDesarrollo AIR Mobile
Desarrollo AIR Mobile
 
Using android's action bar
Using android's action barUsing android's action bar
Using android's action bar
 
Your First Adobe Flash Application for Android
Your First Adobe Flash Application for AndroidYour First Adobe Flash Application for Android
Your First Adobe Flash Application for Android
 
GuideMaker Design Customization Guideline
GuideMaker Design Customization GuidelineGuideMaker Design Customization Guideline
GuideMaker Design Customization Guideline
 
Android studio installation
Android studio installationAndroid studio installation
Android studio installation
 
Android styles and themes
Android   styles and themesAndroid   styles and themes
Android styles and themes
 
Mobile application testing report
Mobile application testing reportMobile application testing report
Mobile application testing report
 
Windows phone 7 development
Windows phone 7 developmentWindows phone 7 development
Windows phone 7 development
 
I phone first app ducat
I phone first app ducatI phone first app ducat
I phone first app ducat
 
Get started with watch kit development
Get started with watch kit developmentGet started with watch kit development
Get started with watch kit development
 
Android the first app - hello world - copy
Android   the first app - hello world - copyAndroid   the first app - hello world - copy
Android the first app - hello world - copy
 

Andere mochten auch

Windows phone 8 session 4
Windows phone 8 session 4Windows phone 8 session 4
Windows phone 8 session 4hitesh chothani
 
Windows phone 8 session 9
Windows phone 8 session 9Windows phone 8 session 9
Windows phone 8 session 9hitesh chothani
 
Windows phone 8 session 5
Windows phone 8 session 5Windows phone 8 session 5
Windows phone 8 session 5hitesh chothani
 
Windows phone 8 session 6
Windows phone 8 session 6Windows phone 8 session 6
Windows phone 8 session 6hitesh chothani
 
Windows phone 8 session 10
Windows phone 8 session 10Windows phone 8 session 10
Windows phone 8 session 10hitesh chothani
 
Windows phone 8 session 13
Windows phone 8 session 13Windows phone 8 session 13
Windows phone 8 session 13hitesh chothani
 
Windows phone 8 session 8
Windows phone 8 session 8Windows phone 8 session 8
Windows phone 8 session 8hitesh chothani
 

Andere mochten auch (7)

Windows phone 8 session 4
Windows phone 8 session 4Windows phone 8 session 4
Windows phone 8 session 4
 
Windows phone 8 session 9
Windows phone 8 session 9Windows phone 8 session 9
Windows phone 8 session 9
 
Windows phone 8 session 5
Windows phone 8 session 5Windows phone 8 session 5
Windows phone 8 session 5
 
Windows phone 8 session 6
Windows phone 8 session 6Windows phone 8 session 6
Windows phone 8 session 6
 
Windows phone 8 session 10
Windows phone 8 session 10Windows phone 8 session 10
Windows phone 8 session 10
 
Windows phone 8 session 13
Windows phone 8 session 13Windows phone 8 session 13
Windows phone 8 session 13
 
Windows phone 8 session 8
Windows phone 8 session 8Windows phone 8 session 8
Windows phone 8 session 8
 

Ähnlich wie Windows phone 8 session 11

Windows Phone 8 - 8 Tiles and Lock Screen Notifications
Windows Phone 8 - 8 Tiles and Lock Screen NotificationsWindows Phone 8 - 8 Tiles and Lock Screen Notifications
Windows Phone 8 - 8 Tiles and Lock Screen NotificationsOliver Scheer
 
07.Notifications & Reminder, Contact
07.Notifications & Reminder, Contact07.Notifications & Reminder, Contact
07.Notifications & Reminder, ContactNguyen Tuan
 
Windows phone 8 session 2
Windows phone 8 session 2Windows phone 8 session 2
Windows phone 8 session 2hitesh chothani
 
Windows 8 app bar and live tiles
Windows 8 app bar and live tilesWindows 8 app bar and live tiles
Windows 8 app bar and live tilesAmr Abulnaga
 
Windows Phone 8 More Than An App
Windows Phone 8 More Than An AppWindows Phone 8 More Than An App
Windows Phone 8 More Than An AppNguyên Phạm
 
Windows phone 8 session 3
Windows phone 8 session 3Windows phone 8 session 3
Windows phone 8 session 3hitesh chothani
 
Windows phone 8 overview
Windows phone 8 overviewWindows phone 8 overview
Windows phone 8 overviewcodeblock
 
Tat learning applications en
Tat learning applications enTat learning applications en
Tat learning applications enToni Setyawan
 
A Complete guide of Windows 8 with its application
A Complete guide of Windows 8 with its applicationA Complete guide of Windows 8 with its application
A Complete guide of Windows 8 with its applicationalva christi
 
Titanium Meetup Deck
Titanium Meetup DeckTitanium Meetup Deck
Titanium Meetup Decksschwarzhoff
 
Native Mobile Application Using Open Source
Native Mobile Application Using Open SourceNative Mobile Application Using Open Source
Native Mobile Application Using Open SourceAxway Appcelerator
 
OSCON Titanium Tutorial
OSCON Titanium TutorialOSCON Titanium Tutorial
OSCON Titanium TutorialKevin Whinnery
 
Sumsem2014 15 cp0399-syb_cycle_sheet
Sumsem2014 15 cp0399-syb_cycle_sheetSumsem2014 15 cp0399-syb_cycle_sheet
Sumsem2014 15 cp0399-syb_cycle_sheetAbhijit Borah
 
Implementing a Splash Screen in Android: Full Guide
Implementing a Splash Screen in Android: Full GuideImplementing a Splash Screen in Android: Full Guide
Implementing a Splash Screen in Android: Full GuideDean Djermanovic
 
Trimantra - Project Portfolio_NET
Trimantra - Project Portfolio_NETTrimantra - Project Portfolio_NET
Trimantra - Project Portfolio_NETMihir G.
 
Tizen-based Samsung TV SDK Overview
Tizen-based Samsung TV SDK OverviewTizen-based Samsung TV SDK Overview
Tizen-based Samsung TV SDK OverviewRyo Jin
 

Ähnlich wie Windows phone 8 session 11 (20)

Windows Phone 8 - 8 Tiles and Lock Screen Notifications
Windows Phone 8 - 8 Tiles and Lock Screen NotificationsWindows Phone 8 - 8 Tiles and Lock Screen Notifications
Windows Phone 8 - 8 Tiles and Lock Screen Notifications
 
07.Notifications & Reminder, Contact
07.Notifications & Reminder, Contact07.Notifications & Reminder, Contact
07.Notifications & Reminder, Contact
 
Windows phone 8 session 2
Windows phone 8 session 2Windows phone 8 session 2
Windows phone 8 session 2
 
Windows 8 app bar and live tiles
Windows 8 app bar and live tilesWindows 8 app bar and live tiles
Windows 8 app bar and live tiles
 
Windows Phone 8 More Than An App
Windows Phone 8 More Than An AppWindows Phone 8 More Than An App
Windows Phone 8 More Than An App
 
Windows phone 8 session 3
Windows phone 8 session 3Windows phone 8 session 3
Windows phone 8 session 3
 
Alive with activity
Alive with activityAlive with activity
Alive with activity
 
Windows phone 8 overview
Windows phone 8 overviewWindows phone 8 overview
Windows phone 8 overview
 
Windows 7 mobile
Windows 7 mobileWindows 7 mobile
Windows 7 mobile
 
Tat learning applications en
Tat learning applications enTat learning applications en
Tat learning applications en
 
A Complete guide of Windows 8 with its application
A Complete guide of Windows 8 with its applicationA Complete guide of Windows 8 with its application
A Complete guide of Windows 8 with its application
 
Titanium Meetup Deck
Titanium Meetup DeckTitanium Meetup Deck
Titanium Meetup Deck
 
Native Mobile Application Using Open Source
Native Mobile Application Using Open SourceNative Mobile Application Using Open Source
Native Mobile Application Using Open Source
 
OSCON Titanium Tutorial
OSCON Titanium TutorialOSCON Titanium Tutorial
OSCON Titanium Tutorial
 
Sumsem2014 15 cp0399-syb_cycle_sheet
Sumsem2014 15 cp0399-syb_cycle_sheetSumsem2014 15 cp0399-syb_cycle_sheet
Sumsem2014 15 cp0399-syb_cycle_sheet
 
Implementing a Splash Screen in Android: Full Guide
Implementing a Splash Screen in Android: Full GuideImplementing a Splash Screen in Android: Full Guide
Implementing a Splash Screen in Android: Full Guide
 
Trimantra - Project Portfolio_NET
Trimantra - Project Portfolio_NETTrimantra - Project Portfolio_NET
Trimantra - Project Portfolio_NET
 
MOTOROLA XOOM Meet-up March 1st
MOTOROLA XOOM Meet-up March 1stMOTOROLA XOOM Meet-up March 1st
MOTOROLA XOOM Meet-up March 1st
 
Developing on Windows 8
Developing on Windows 8Developing on Windows 8
Developing on Windows 8
 
Tizen-based Samsung TV SDK Overview
Tizen-based Samsung TV SDK OverviewTizen-based Samsung TV SDK Overview
Tizen-based Samsung TV SDK Overview
 

Kürzlich hochgeladen

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 

Kürzlich hochgeladen (20)

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 

Windows phone 8 session 11

  • 1. WP8 TILES AND LOCK SCREEN NOTIFICATIONS 1. Tiles in Windows Phone 8 2. Local Tiles API 3. Updating Tiles from ShellTileSchedule 4. Updating Tiles from Background Agents 5. Lock screen notifications for Windows Phone 6. Lock screen background for Windows Phone
  • 2. FOLLOW US Twitter : @chothanihitesh Slideshare : http://www.slideshare.net/Chothani-Hitesh Email : chothani.hitesh@gmail.com Support : windows.chothani@live.com LinkedIn : in.linkedin.com/pub/hiteshchothani/6b/311/2b8 W8 Publisher : AppStudios WP Publisher : AppStudios Website : www.appmobinfotech.com
  • 4. LIVE TILES ON WINDOWS PHONE  Windows phone has the unique ability to provide the end user glanceable access 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
  • 5. LIVE TILES 10  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
  • 6. 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
  • 7. 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
  • 8. FLIP TILE TEMPLATE  Flips from front to back  Small size does not flip  Medium size is the same as the WP7.1 tile template
  • 9. CYCLE TILE TEMPLATE  Cycles between from 1 to 9 images  Small tile does not cycle
  • 10. ICONIC TILE TEMPLATE  Displays a small image in the center of the Tile and is designed to reflect Windows Phone design principles
  • 11. 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 create a 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
  • 12. 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
  • 13. 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
  • 15. CREATING AND UPDATING TILES WITH THE LOCAL TILE API  Local tile updates (these are *not* push)  Full control of all properties when your app is in the foreground or background  Manage Secondary Tiles •Create/Update/Delete  Launches directly to page/experience
  • 19. UPDATING TILES FROM A BACKGROUND AGENT  In Windows Phone OS 7.0, only way of updating Live 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
  • 20. UPDATING TILES FROM A BACKGROUND AGENT LOCK SCREEN NOTIFICATIONS ON WINDOWS PHONE
  • 21. LOCK SCREEN ON WINDOWS PHONE 7  On Windows Phone 7, Notifications area was reserved to first party apps  Next Calendar Appointment  Icons and counts for missed calls, new email, new SMS  User could select background image  From supplied Wallpapers  From their own pictures
  • 22. LOCK SCREEN ON WINDOWS PHONE 8  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
  • 23. UPDATING THE APPLICATION MANIFEST FILE  Edit WMAppManifest.xml with the XML editor
  • 24. HOW TO UPDATE THE ICON COUNT AND TEXT  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  Local Shell Tiles API  Push Notifications
  • 25. TESTING WITH THE SIMULATION DASHBOARD  Simulation Dashboard allows you to display the Lock Screen on the emulator  Access the Simulation Dashboard from the Visual Studio Tools menu
  • 26. LOCK SCREEN NOTIFICATIONS LOCK SCREEN BACKGROUND
  • 27. LOCK SCREEN BACKGROUND ON WINDOWS PHONE 8  End user can choose a background image from their own photos or search for one 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
  • 28. UPDATING THE APPLICATION MANIFEST FILE  Edit WMAppManifest.xml with the XML editor
  • 29. WRITE CODE TO CHANGE THE LOCK SCREEN BACKGROUND