SlideShare uma empresa Scribd logo
1 de 31
Baixar para ler offline
Windows Phone 8
More Than An App
7th April, 2013
Nguyen Pham
Pham.nguyen@Hotmail.com
http://phamnguyen.info
24/07/2013Microsoft confidential2
Windows Phone 8 – More Than An App
24/07/2013Microsoft confidential3
Points of integration
• Live Tiles
• Lock Screen (background and notifications)
• Notifications
• Lenses (and camera integration)
• Wallet
24/07/2013Microsoft confidential8
Tiles on
Windows Phone 8
Live Tiles on Windows Phone
•Glance, Know, Go
•Update from push notification
•Update from app (since 7.5 Mango)
•Update periodically (new in Windows Phone 8)
Live Tiles 101
•Shortcuts to apps
•Apps can create secondary tiles
•Static or dynamic
•Tiles can be updated
•Three tile sizes in Windows
Phone 8
11
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
24/07/201312
Tile Templates and Tile Sizes
•Flip – flips from front to back
•Iconic – clean iconic layout designed
to reflect Windows Phone design
principles
•Cycle – cycles through up to nine
images
13
Tile Content
• WXGA resolution Image sizes
14
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
Flip Tile Template
• Flips from front to back
• Small size does not flip
• Medium size is the same as
the WP7.1 tile template
24/07/201315
Cycle Tile Template
• Cycles between from 1 to 9 images
• Small tile does not cycle
24/07/201316
Iconic Tile Template
• Displays a small image in the center of the Tile and is designed to reflect Windows Phone
design principles
24/07/201317
24/07/2013Microsoft confidential18
Tiles Demo
Updating Tiles with a Tile Schedule
• Periodically updates the tile image without pushing message though
• Updates images only from the web, not from the app local store
• Update recurrence can by Onetime, EveryHour, EveryDay, EveryWeek or EveryMonth
19
Limitations of a Tile Schedule
•Can only update the image on the front of the tile
•Updates images only from the web, not from the app local store
•Image size must be less than 150 KB (up from 80KB in WP7.1)
•Download time must not exceed 45 seconds (down from 60 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
20
24/07/2013Microsoft confidential21
Lock screen
notifications on
Windows Phone
• 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
24/07/201322
Lock Screen on Windows Phone 8
• Create a 30 x 30 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
Creating a lock screen icon
24/07/2013Microsoft confidential23
• 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
How to Update the Icon Count and Text
24/07/2013Microsoft confidential24
24/07/2013Microsoft confidential25
Lock Screen
Background
• 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
24/07/201326
Lock Screen Background on Windows Phone 8
• Open your WMAppManifest.xml file and add the extension
<Extension ExtensionName="LockScreen_Background"
ConsumerID="{111DFF24-AA15-4A96-8006-2BFF8122084F"
TaskID="_default" />
• 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/
Uri imageUri = new Uri("ms-appdata:///local/background2.png", UriKind.RelativeOrAbso
LockScreen.SetImageUri(imageUri);
Adding the Lock Screen Background Extension
24/07/2013Microsoft confidential27
• 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/
Uri imageUri = new Uri("ms-appdata:///local/background2.png", UriKind.RelativeOrAbso
LockScreen.SetImageUri(imageUri);
Accessing Your Image
24/07/2013Microsoft confidential28
24/07/2013Microsoft confidential29
Lenses
Creating a Lens
• A Lens is a custom camera application which can be
accessed from within the camera application
• An application is flagged as a Lens application by
setting a flag in the manifest and providing icons
that can be used to browse for the Lens when the
camera is in use
30
Creating a Lens application
• This text must be added to the WMAppManifest.xml file for the application, just after the
<Tokens> section
• There is no GUI for this alteration, you have to edit the XML directly
<Extensions>
<Extension ExtensionName="Camera_Capture_App"
ConsumerID="{5B04B775-356B-4AA0-AAF8-6491FFEA5631}"
TaskID="_default" />
</Extensions>
Adding the Lens Icons
• Three Icons are required, one for each Windows Phone screen size
• WVGA 173 × 173 AssetsLens.Screen-WVGA.png
• 720p 259 × 259 AssetsLens.Screen-720p.png
• WXGA 277 × 277 AssetsLens.Screen-WXGA.png
• They are all placed in the Assets folder of the application
• Use a transparent background to match the Windows Phone color scheme
24/07/201332
24/07/2013Microsoft confidential33
Lenses Demo
• You can also create an application that has an auto-upload behaviour for pictures that the
user may take
• The upload behaviour is a “resource intensive” background task
• The application must set the extension shown above and display a settings page where the
user can set authentication and upload options
• This is a background process and therefore might not get to run
Creating an Auto-Uploader for photos
<Extensions>
<Extension ExtensionName="Photos_Auto_Upload"
ConsumerID="{5B04B775-356B-4AA0-AAF8-6491FFEA5632}"
TaskID="_default" />
</Extensions>
• Windows Phone 7.5 Training Kit : http://www.microsoft.com/en-
us/download/details.aspx?id=28564
• Windows Phone 8 Training kit: http://www.microsoft.com/en-
us/download/details.aspx?id=35777
24/07/201350
The information herein is for informational
purposes only an represents the current view of
Microsoft Corporation as of the date of this
presentation. Because Microsoft must respond
to changing market conditions, it should not be
interpreted to be a commitment on the part of
Microsoft, and Microsoft cannot guarantee the
accuracy of any information provided after the
date of this presentation.
© 2012 Microsoft Corporation.
All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION
IN THIS PRESENTATION.

Mais conteúdo relacionado

Destaque

Media landscape updater 2011
Media landscape updater 2011Media landscape updater 2011
Media landscape updater 2011
MediaDirectionOMD
 
Media landscape updater 2011
Media landscape updater 2011Media landscape updater 2011
Media landscape updater 2011
MediaDirectionOMD
 
Media landscape updater 2011
Media landscape updater 2011Media landscape updater 2011
Media landscape updater 2011
MediaDirectionOMD
 
Media landscape updater 2012
Media landscape updater 2012Media landscape updater 2012
Media landscape updater 2012
MediaDirectionOMD
 
Media landscape updater 2011
Media landscape updater 2011Media landscape updater 2011
Media landscape updater 2011
MediaDirectionOMD
 
Media landscape updater - 2011 summary
Media landscape updater - 2011 summaryMedia landscape updater - 2011 summary
Media landscape updater - 2011 summary
MediaDirectionOMD
 
Media landscape updater i 2012
Media landscape updater i 2012Media landscape updater i 2012
Media landscape updater i 2012
MediaDirectionOMD
 
Media landscape updater I-III 2012
Media landscape updater I-III 2012Media landscape updater I-III 2012
Media landscape updater I-III 2012
MediaDirectionOMD
 
Media landscape updater 2011
Media landscape updater 2011Media landscape updater 2011
Media landscape updater 2011
MediaDirectionOMD
 
Media landscape updater VIII 2012
Media landscape updater VIII 2012Media landscape updater VIII 2012
Media landscape updater VIII 2012
MediaDirectionOMD
 
Nuevo presentación de microsoft office power point (1)
Nuevo presentación de microsoft office power point (1)Nuevo presentación de microsoft office power point (1)
Nuevo presentación de microsoft office power point (1)
Maria Carolina Lopez
 
Resume-format-for-freshers-2
Resume-format-for-freshers-2Resume-format-for-freshers-2
Resume-format-for-freshers-2
Gokul sivaa
 
Abra Quando Estiver Só/elaine/coloniasespirituais
Abra Quando Estiver Só/elaine/coloniasespirituaisAbra Quando Estiver Só/elaine/coloniasespirituais
Abra Quando Estiver Só/elaine/coloniasespirituais
Aurora Boreal
 
Despedida Do Curso De QualificaçãO Digital
Despedida Do Curso De QualificaçãO DigitalDespedida Do Curso De QualificaçãO Digital
Despedida Do Curso De QualificaçãO Digital
Henriquecs
 
Presentación1111
Presentación1111Presentación1111
Presentación1111
Jon Bilbao
 

Destaque (20)

Media landscape updater 2011
Media landscape updater 2011Media landscape updater 2011
Media landscape updater 2011
 
Media landscape updater 2011
Media landscape updater 2011Media landscape updater 2011
Media landscape updater 2011
 
Media landscape updater
Media landscape updaterMedia landscape updater
Media landscape updater
 
Media landscape updater 2011
Media landscape updater 2011Media landscape updater 2011
Media landscape updater 2011
 
Media landscape updater
Media landscape updaterMedia landscape updater
Media landscape updater
 
Media landscape updater 2012
Media landscape updater 2012Media landscape updater 2012
Media landscape updater 2012
 
Media landscape updater 2011
Media landscape updater 2011Media landscape updater 2011
Media landscape updater 2011
 
Media landscape updater - 2011 summary
Media landscape updater - 2011 summaryMedia landscape updater - 2011 summary
Media landscape updater - 2011 summary
 
Media landscape updater i 2012
Media landscape updater i 2012Media landscape updater i 2012
Media landscape updater i 2012
 
Media landscape updater I-III 2012
Media landscape updater I-III 2012Media landscape updater I-III 2012
Media landscape updater I-III 2012
 
Media landscape updater 2011
Media landscape updater 2011Media landscape updater 2011
Media landscape updater 2011
 
Media landscape updater VIII 2012
Media landscape updater VIII 2012Media landscape updater VIII 2012
Media landscape updater VIII 2012
 
Kopia składy pakietów
Kopia składy pakietówKopia składy pakietów
Kopia składy pakietów
 
Nuevo presentación de microsoft office power point (1)
Nuevo presentación de microsoft office power point (1)Nuevo presentación de microsoft office power point (1)
Nuevo presentación de microsoft office power point (1)
 
Get Cash For Motorcycle
Get Cash For MotorcycleGet Cash For Motorcycle
Get Cash For Motorcycle
 
Resume-format-for-freshers-2
Resume-format-for-freshers-2Resume-format-for-freshers-2
Resume-format-for-freshers-2
 
Abra Quando Estiver Só/elaine/coloniasespirituais
Abra Quando Estiver Só/elaine/coloniasespirituaisAbra Quando Estiver Só/elaine/coloniasespirituais
Abra Quando Estiver Só/elaine/coloniasespirituais
 
Presentación curso TICs para enseñar y aprender
Presentación curso TICs para enseñar y aprenderPresentación curso TICs para enseñar y aprender
Presentación curso TICs para enseñar y aprender
 
Despedida Do Curso De QualificaçãO Digital
Despedida Do Curso De QualificaçãO DigitalDespedida Do Curso De QualificaçãO Digital
Despedida Do Curso De QualificaçãO Digital
 
Presentación1111
Presentación1111Presentación1111
Presentación1111
 

Semelhante a Windows Phone 8 More Than An App

Trimantra - Project Portfolio_NET
Trimantra - Project Portfolio_NETTrimantra - Project Portfolio_NET
Trimantra - Project Portfolio_NET
Mihir G.
 
Applied vision4 usermanual for cam 107a
Applied vision4 usermanual for cam 107aApplied vision4 usermanual for cam 107a
Applied vision4 usermanual for cam 107a
DukaneAVMarketing
 
7.imaging on windows phone
7.imaging on windows phone7.imaging on windows phone
7.imaging on windows phone
Nguyên Phạm
 
Create a Windows 8 App in minutes
Create a Windows 8 App in minutesCreate a Windows 8 App in minutes
Create a Windows 8 App in minutes
Frank La Vigne
 
Get the Jump on Mobilizing your Notes and Domino Applications Today! (JMP103...
Get the Jump on Mobilizing your Notes and Domino Applications Today!  (JMP103...Get the Jump on Mobilizing your Notes and Domino Applications Today!  (JMP103...
Get the Jump on Mobilizing your Notes and Domino Applications Today! (JMP103...
Paul Della-Nebbia
 
Windows 8 DevUnleashed - Session 3
Windows 8 DevUnleashed - Session 3Windows 8 DevUnleashed - Session 3
Windows 8 DevUnleashed - Session 3
drudolph11
 

Semelhante a Windows Phone 8 More Than An App (20)

07.Notifications & Reminder, Contact
07.Notifications & Reminder, Contact07.Notifications & Reminder, Contact
07.Notifications & Reminder, Contact
 
13.Windows Phone Store
13.Windows Phone Store13.Windows Phone Store
13.Windows Phone Store
 
06.Programming Media on Windows Phone
06.Programming Media on Windows Phone06.Programming Media on Windows Phone
06.Programming Media on Windows Phone
 
Windows phone 8 session 11
Windows phone 8 session 11Windows phone 8 session 11
Windows phone 8 session 11
 
Trimantra - Project Portfolio_NET
Trimantra - Project Portfolio_NETTrimantra - Project Portfolio_NET
Trimantra - Project Portfolio_NET
 
Applied vision4 usermanual for cam 107a
Applied vision4 usermanual for cam 107aApplied vision4 usermanual for cam 107a
Applied vision4 usermanual for cam 107a
 
How to Create and Program Flash PROM XCf04s on Spartan 3E
How to Create and Program Flash PROM XCf04s on Spartan 3EHow to Create and Program Flash PROM XCf04s on Spartan 3E
How to Create and Program Flash PROM XCf04s on Spartan 3E
 
7.imaging on windows phone
7.imaging on windows phone7.imaging on windows phone
7.imaging on windows phone
 
Side loading
Side loadingSide loading
Side loading
 
Visual basic
Visual basic Visual basic
Visual basic
 
Create a Windows 8 App in minutes
Create a Windows 8 App in minutesCreate a Windows 8 App in minutes
Create a Windows 8 App in minutes
 
Mychoice -classified site for buying, selling, rent etc
Mychoice -classified site for buying, selling, rent etcMychoice -classified site for buying, selling, rent etc
Mychoice -classified site for buying, selling, rent etc
 
21 app packaging, monetization and publication
21   app packaging, monetization and publication21   app packaging, monetization and publication
21 app packaging, monetization and publication
 
Windows 8 Client Part 2 "The Application internals for IT-Pro's"
Windows 8 Client Part 2 "The Application internals for IT-Pro's"  Windows 8 Client Part 2 "The Application internals for IT-Pro's"
Windows 8 Client Part 2 "The Application internals for IT-Pro's"
 
SCCM HOw to
SCCM HOw toSCCM HOw to
SCCM HOw to
 
Intro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and toolsIntro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and tools
 
Get the Jump on Mobilizing your Notes and Domino Applications Today! (JMP103...
Get the Jump on Mobilizing your Notes and Domino Applications Today!  (JMP103...Get the Jump on Mobilizing your Notes and Domino Applications Today!  (JMP103...
Get the Jump on Mobilizing your Notes and Domino Applications Today! (JMP103...
 
Windows 8 DevUnleashed - Session 3
Windows 8 DevUnleashed - Session 3Windows 8 DevUnleashed - Session 3
Windows 8 DevUnleashed - Session 3
 
Game Republic - Yorkshire Building Awesome games for Windows
Game Republic - Yorkshire Building Awesome games for WindowsGame Republic - Yorkshire Building Awesome games for Windows
Game Republic - Yorkshire Building Awesome games for Windows
 
March 2014 Meetup - Nokia X Tech Session
March 2014 Meetup - Nokia X Tech SessionMarch 2014 Meetup - Nokia X Tech Session
March 2014 Meetup - Nokia X Tech Session
 

Mais de Nguyên Phạm

What’s new in WinJS? Windows Phone 8.1 and the road ahead
What’s new in WinJS? Windows Phone 8.1 and the road aheadWhat’s new in WinJS? Windows Phone 8.1 and the road ahead
What’s new in WinJS? Windows Phone 8.1 and the road ahead
Nguyên Phạm
 
Building HTML and JavaScript Apps with KnockoutJS and MVVM
Building HTML and JavaScript Apps with KnockoutJS and MVVMBuilding HTML and JavaScript Apps with KnockoutJS and MVVM
Building HTML and JavaScript Apps with KnockoutJS and MVVM
Nguyên Phạm
 
Windows Phone 8 Fundamental
Windows Phone 8 FundamentalWindows Phone 8 Fundamental
Windows Phone 8 Fundamental
Nguyên Phạm
 
Windows Phone Development
Windows Phone DevelopmentWindows Phone Development
Windows Phone Development
Nguyên Phạm
 
Windows Phone 7 Platform Overview
Windows Phone 7 Platform OverviewWindows Phone 7 Platform Overview
Windows Phone 7 Platform Overview
Nguyên Phạm
 
WP8 HTML5/IE10 for Developers
WP8 HTML5/IE10 for DevelopersWP8 HTML5/IE10 for Developers
WP8 HTML5/IE10 for Developers
Nguyên Phạm
 

Mais de Nguyên Phạm (6)

What’s new in WinJS? Windows Phone 8.1 and the road ahead
What’s new in WinJS? Windows Phone 8.1 and the road aheadWhat’s new in WinJS? Windows Phone 8.1 and the road ahead
What’s new in WinJS? Windows Phone 8.1 and the road ahead
 
Building HTML and JavaScript Apps with KnockoutJS and MVVM
Building HTML and JavaScript Apps with KnockoutJS and MVVMBuilding HTML and JavaScript Apps with KnockoutJS and MVVM
Building HTML and JavaScript Apps with KnockoutJS and MVVM
 
Windows Phone 8 Fundamental
Windows Phone 8 FundamentalWindows Phone 8 Fundamental
Windows Phone 8 Fundamental
 
Windows Phone Development
Windows Phone DevelopmentWindows Phone Development
Windows Phone Development
 
Windows Phone 7 Platform Overview
Windows Phone 7 Platform OverviewWindows Phone 7 Platform Overview
Windows Phone 7 Platform Overview
 
WP8 HTML5/IE10 for Developers
WP8 HTML5/IE10 for DevelopersWP8 HTML5/IE10 for Developers
WP8 HTML5/IE10 for Developers
 

Último

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Último (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

Windows Phone 8 More Than An App

  • 1. Windows Phone 8 More Than An App 7th April, 2013 Nguyen Pham Pham.nguyen@Hotmail.com http://phamnguyen.info
  • 3. Windows Phone 8 – More Than An App 24/07/2013Microsoft confidential3 Points of integration • Live Tiles • Lock Screen (background and notifications) • Notifications • Lenses (and camera integration) • Wallet
  • 5. Live Tiles on Windows Phone •Glance, Know, Go •Update from push notification •Update from app (since 7.5 Mango) •Update periodically (new in Windows Phone 8)
  • 6. Live Tiles 101 •Shortcuts to apps •Apps can create secondary tiles •Static or dynamic •Tiles can be updated •Three tile sizes in Windows Phone 8 11
  • 7. 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 24/07/201312
  • 8. Tile Templates and Tile Sizes •Flip – flips from front to back •Iconic – clean iconic layout designed to reflect Windows Phone design principles •Cycle – cycles through up to nine images 13
  • 9. Tile Content • WXGA resolution Image sizes 14 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
  • 10. Flip Tile Template • Flips from front to back • Small size does not flip • Medium size is the same as the WP7.1 tile template 24/07/201315
  • 11. Cycle Tile Template • Cycles between from 1 to 9 images • Small tile does not cycle 24/07/201316
  • 12. Iconic Tile Template • Displays a small image in the center of the Tile and is designed to reflect Windows Phone design principles 24/07/201317
  • 14. Updating Tiles with a Tile Schedule • Periodically updates the tile image without pushing message though • Updates images only from the web, not from the app local store • Update recurrence can by Onetime, EveryHour, EveryDay, EveryWeek or EveryMonth 19
  • 15. Limitations of a Tile Schedule •Can only update the image on the front of the tile •Updates images only from the web, not from the app local store •Image size must be less than 150 KB (up from 80KB in WP7.1) •Download time must not exceed 45 seconds (down from 60 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 20
  • 17. • 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 24/07/201322 Lock Screen on Windows Phone 8
  • 18. • Create a 30 x 30 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 Creating a lock screen icon 24/07/2013Microsoft confidential23
  • 19. • 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 How to Update the Icon Count and Text 24/07/2013Microsoft confidential24
  • 21. • 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 24/07/201326 Lock Screen Background on Windows Phone 8
  • 22. • Open your WMAppManifest.xml file and add the extension <Extension ExtensionName="LockScreen_Background" ConsumerID="{111DFF24-AA15-4A96-8006-2BFF8122084F" TaskID="_default" /> • 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/ Uri imageUri = new Uri("ms-appdata:///local/background2.png", UriKind.RelativeOrAbso LockScreen.SetImageUri(imageUri); Adding the Lock Screen Background Extension 24/07/2013Microsoft confidential27
  • 23. • 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/ Uri imageUri = new Uri("ms-appdata:///local/background2.png", UriKind.RelativeOrAbso LockScreen.SetImageUri(imageUri); Accessing Your Image 24/07/2013Microsoft confidential28
  • 25. Creating a Lens • A Lens is a custom camera application which can be accessed from within the camera application • An application is flagged as a Lens application by setting a flag in the manifest and providing icons that can be used to browse for the Lens when the camera is in use 30
  • 26. Creating a Lens application • This text must be added to the WMAppManifest.xml file for the application, just after the <Tokens> section • There is no GUI for this alteration, you have to edit the XML directly <Extensions> <Extension ExtensionName="Camera_Capture_App" ConsumerID="{5B04B775-356B-4AA0-AAF8-6491FFEA5631}" TaskID="_default" /> </Extensions>
  • 27. Adding the Lens Icons • Three Icons are required, one for each Windows Phone screen size • WVGA 173 × 173 AssetsLens.Screen-WVGA.png • 720p 259 × 259 AssetsLens.Screen-720p.png • WXGA 277 × 277 AssetsLens.Screen-WXGA.png • They are all placed in the Assets folder of the application • Use a transparent background to match the Windows Phone color scheme 24/07/201332
  • 29. • You can also create an application that has an auto-upload behaviour for pictures that the user may take • The upload behaviour is a “resource intensive” background task • The application must set the extension shown above and display a settings page where the user can set authentication and upload options • This is a background process and therefore might not get to run Creating an Auto-Uploader for photos <Extensions> <Extension ExtensionName="Photos_Auto_Upload" ConsumerID="{5B04B775-356B-4AA0-AAF8-6491FFEA5632}" TaskID="_default" /> </Extensions>
  • 30. • Windows Phone 7.5 Training Kit : http://www.microsoft.com/en- us/download/details.aspx?id=28564 • Windows Phone 8 Training kit: http://www.microsoft.com/en- us/download/details.aspx?id=35777 24/07/201350
  • 31. The information herein is for informational purposes only an represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.