SlideShare una empresa de Scribd logo
1 de 25
App to App Communication in Windows
Phone 8
Senthil Kumar
Microsoft MVP – Client Development
MobileOSGeek.com
About Me
• Work at Trivium eSolutions , Bangalore
• Microsoft MVP – Client Development
• Speaker , Blogger , Software Engineer.
• BDOTNETTER( Bangalore .NET User Group )
• Windows Phone enthusiast
Blog : MobileOSGeek.com
Twitter : @isenthil
Agenda
• What is App to App Communication ?
• Introduction to File and Protocol Association
• Auto Launching with File Extension Association
• Auto Launching with Protocol Association
• Launching the Built-in Apps
• Demo
What is App to App Communication ?
• Enables your application to communicate with another
application.
• Enhance the user experience and easy solutions to apps
providing services outside the app boundaries.
• App to App Communication via
– File Type Associations
– Protocol Associations
Auto-Launching with File Extension Association
• Allows to automatically launch the app when users tries to
open a file of specified type.
• File Sources can be
– Email attachment
– Link on a Website
– Phone Browser
– NFC Tag
– Another App.
User Experience with File and Protocol Associations
• On File or protocol launch request
– If there is only one app having corresponding file or protocol
registration , the app will be launched automatically.
– If multiple apps are installed with registered file association , ths user
is provided the choice on which app to launch
– If no apps is registered to handle the file or protocol , the user is
offered the option of downloading one.
One Handler
No handlers
2+ Handlers
Auto-Launching with File Extension Association
• Registering a File Association
• Receiving a File Launch Request
– Detect a File Launch
– Retrieving a Launched File
• Launching a File
Adding File Association to WMAppManifest.xml
• Add a FileTypeAssociation element inside Extensions element.
– Extensions element should follow immediately after Tokens element.
Registering for File Association (Logos)
Logo Size Use Domensions
Small Email attachments 33X33 pixels
Medium Office Hub list view 69X69 pixels
Large Browser download 176X176 pixels
File Launch Request
• On App Launch from the File Launch , a deep link URI is sent to
the app
/FileTypeAssociation?fileToken=37dfc6ed-cdba-4424-9fa2-dba990a07486
• URI Mapper for Parsing deep link URI and mapping to the page
in the App.
Receiving the File Launch Request
• Shared Storage and SharedStorageAccessManager.
Launching the File
• Use Launcher.LaunchFileAsync method for launching a file.
Protocol Associations
• Allows your app to automatically launch when another app
launches a special URI
• The URI begins with a protocol name that your app has
registered for
– For example , mobileosgeek is the protocol name in the below URI
– Mobileosgeek:ShowProducts?CategoryID=87411445-5451-419d-
a2eb-79b39c8c552c
Auto-Launching with Protocol Association
• Registering for Protocol Association
• Receiving Protocol Launch Request
– Detecting a Protocol Launch
• Launching a Protocol URI
• Reserved Protocol Names
Registering for Protocol Association in
WMAppManifest.xml
• To register for protocol association , add a Protocol element
inside Extensions element.
– The Extensions element must follow immediately after the Tokens
element.
Reserved Protocol Names
• Protocol Names reserved for Build-in Apps
– http , Tel , Onenote etc
• Protocol Names reserved for Operating System
– File , telnet etc.
Launching Built-In Apps
• Launch some of the built-in apps using Uri schemes.
• Use Launcher.LaunchUriAsync method to launch the apps.
Eg : To launch the wifi settings app.
Resources
Building Apps for Windows Phone 8 Jump Start
http://channel9.msdn.com/Series/Building-Apps-for-Windows-
Phone-8-Jump-Start
Matt Lacey's article on 325 Windows Phone apps you can launch
from your own app
http://blog.mrlacey.co.uk/2014/03/325-windows-phone-apps-you-
can-launch.html
Windows Phone 8 Training Kit
http://www.microsoft.com/en-in/download/details.aspx?id=38782

Más contenido relacionado

La actualidad más candente

La actualidad más candente (10)

Tutorial 1 - Browser Basics
Tutorial 1 - Browser BasicsTutorial 1 - Browser Basics
Tutorial 1 - Browser Basics
 
Internet explorer 06
Internet explorer 06Internet explorer 06
Internet explorer 06
 
Io files and web
Io files and webIo files and web
Io files and web
 
File
FileFile
File
 
Team G Presentation
Team G PresentationTeam G Presentation
Team G Presentation
 
Full Text Search with Lucene
Full Text Search with LuceneFull Text Search with Lucene
Full Text Search with Lucene
 
Web browers
Web browersWeb browers
Web browers
 
Tutorial 5 (lucene)
Tutorial 5 (lucene)Tutorial 5 (lucene)
Tutorial 5 (lucene)
 
Browsers
BrowsersBrowsers
Browsers
 
Internet and Web Basics
Internet and Web BasicsInternet and Web Basics
Internet and Web Basics
 

Similar a App to App Communication in Windows Phone 8 - VTC 2014

Digital toolbox researchanddevelopment_slides
Digital toolbox researchanddevelopment_slidesDigital toolbox researchanddevelopment_slides
Digital toolbox researchanddevelopment_slidesmoanasherrill
 
Digital toolbox researchanddevelopment_slides
Digital toolbox researchanddevelopment_slidesDigital toolbox researchanddevelopment_slides
Digital toolbox researchanddevelopment_slidesCindy Douglas
 
Digital toolbox researchanddevelopment_slides
Digital toolbox researchanddevelopment_slidesDigital toolbox researchanddevelopment_slides
Digital toolbox researchanddevelopment_slidesEllen Pittleman
 
Digital toolbox researchanddevelopment
Digital toolbox researchanddevelopmentDigital toolbox researchanddevelopment
Digital toolbox researchanddevelopmentchollinsucla
 
IBM Social Business Toolkit
IBM Social Business ToolkitIBM Social Business Toolkit
IBM Social Business ToolkitVan Staub, MBA
 
Sp expo one_drive_teams_sharepoint
Sp expo one_drive_teams_sharepointSp expo one_drive_teams_sharepoint
Sp expo one_drive_teams_sharepointCraig Jahnke
 
Infoaxon extended enterprise
Infoaxon extended enterpriseInfoaxon extended enterprise
Infoaxon extended enterpriseNavnit Saurabh
 
Android application development fundamentals
Android application development fundamentalsAndroid application development fundamentals
Android application development fundamentalsindiangarg
 
Cms integration of apache solr how we did it.
Cms integration of apache solr   how we did it.Cms integration of apache solr   how we did it.
Cms integration of apache solr how we did it.lucenerevolution
 
Apache Solr CMS Integration @ Lucene/Solr Revolution San Diego 2013
Apache Solr CMS Integration @ Lucene/Solr Revolution San Diego 2013Apache Solr CMS Integration @ Lucene/Solr Revolution San Diego 2013
Apache Solr CMS Integration @ Lucene/Solr Revolution San Diego 2013Ingo Renner
 
Android Penetration Testing - Day 1
Android Penetration Testing - Day 1Android Penetration Testing - Day 1
Android Penetration Testing - Day 1Mohammed Adam
 
Development Application for Windows 8 by Eugene Kiriyan
Development Application for Windows 8 by Eugene KiriyanDevelopment Application for Windows 8 by Eugene Kiriyan
Development Application for Windows 8 by Eugene KiriyanDima Maleev
 
Teams community day april 2020 microsoft teams as app platform thomas goelles
Teams community day april 2020 microsoft teams as app platform   thomas goellesTeams community day april 2020 microsoft teams as app platform   thomas goelles
Teams community day april 2020 microsoft teams as app platform thomas goellesThomas Gölles
 
O365con14 - the new sharepoint online apps - napa in action
O365con14 - the new sharepoint online apps - napa in actionO365con14 - the new sharepoint online apps - napa in action
O365con14 - the new sharepoint online apps - napa in actionNCCOMMS
 
Introduction to Bluemix and Watson
Introduction to Bluemix and WatsonIntroduction to Bluemix and Watson
Introduction to Bluemix and WatsonJake Peyser
 
Open source technologies
Open source technologiesOpen source technologies
Open source technologiesSubash V
 
Application Virtualization overview - BayCUG
Application Virtualization overview - BayCUGApplication Virtualization overview - BayCUG
Application Virtualization overview - BayCUGDenis Gundarev
 
Microsoft flow how, when & why
Microsoft flow   how, when & whyMicrosoft flow   how, when & why
Microsoft flow how, when & whyDocFluix, LLC
 
Developing social solutions on Microsoft technologies (SP Social and Yammer)
Developing social solutions on Microsoft technologies (SP Social and Yammer)Developing social solutions on Microsoft technologies (SP Social and Yammer)
Developing social solutions on Microsoft technologies (SP Social and Yammer)SPC Adriatics
 

Similar a App to App Communication in Windows Phone 8 - VTC 2014 (20)

Digital toolbox researchanddevelopment_slides
Digital toolbox researchanddevelopment_slidesDigital toolbox researchanddevelopment_slides
Digital toolbox researchanddevelopment_slides
 
Digital toolbox researchanddevelopment_slides
Digital toolbox researchanddevelopment_slidesDigital toolbox researchanddevelopment_slides
Digital toolbox researchanddevelopment_slides
 
Digital toolbox researchanddevelopment_slides
Digital toolbox researchanddevelopment_slidesDigital toolbox researchanddevelopment_slides
Digital toolbox researchanddevelopment_slides
 
Digital toolbox researchanddevelopment
Digital toolbox researchanddevelopmentDigital toolbox researchanddevelopment
Digital toolbox researchanddevelopment
 
IBM Social Business Toolkit
IBM Social Business ToolkitIBM Social Business Toolkit
IBM Social Business Toolkit
 
Sp expo one_drive_teams_sharepoint
Sp expo one_drive_teams_sharepointSp expo one_drive_teams_sharepoint
Sp expo one_drive_teams_sharepoint
 
Infoaxon extended enterprise
Infoaxon extended enterpriseInfoaxon extended enterprise
Infoaxon extended enterprise
 
Social features sp2013
Social features sp2013Social features sp2013
Social features sp2013
 
Android application development fundamentals
Android application development fundamentalsAndroid application development fundamentals
Android application development fundamentals
 
Cms integration of apache solr how we did it.
Cms integration of apache solr   how we did it.Cms integration of apache solr   how we did it.
Cms integration of apache solr how we did it.
 
Apache Solr CMS Integration @ Lucene/Solr Revolution San Diego 2013
Apache Solr CMS Integration @ Lucene/Solr Revolution San Diego 2013Apache Solr CMS Integration @ Lucene/Solr Revolution San Diego 2013
Apache Solr CMS Integration @ Lucene/Solr Revolution San Diego 2013
 
Android Penetration Testing - Day 1
Android Penetration Testing - Day 1Android Penetration Testing - Day 1
Android Penetration Testing - Day 1
 
Development Application for Windows 8 by Eugene Kiriyan
Development Application for Windows 8 by Eugene KiriyanDevelopment Application for Windows 8 by Eugene Kiriyan
Development Application for Windows 8 by Eugene Kiriyan
 
Teams community day april 2020 microsoft teams as app platform thomas goelles
Teams community day april 2020 microsoft teams as app platform   thomas goellesTeams community day april 2020 microsoft teams as app platform   thomas goelles
Teams community day april 2020 microsoft teams as app platform thomas goelles
 
O365con14 - the new sharepoint online apps - napa in action
O365con14 - the new sharepoint online apps - napa in actionO365con14 - the new sharepoint online apps - napa in action
O365con14 - the new sharepoint online apps - napa in action
 
Introduction to Bluemix and Watson
Introduction to Bluemix and WatsonIntroduction to Bluemix and Watson
Introduction to Bluemix and Watson
 
Open source technologies
Open source technologiesOpen source technologies
Open source technologies
 
Application Virtualization overview - BayCUG
Application Virtualization overview - BayCUGApplication Virtualization overview - BayCUG
Application Virtualization overview - BayCUG
 
Microsoft flow how, when & why
Microsoft flow   how, when & whyMicrosoft flow   how, when & why
Microsoft flow how, when & why
 
Developing social solutions on Microsoft technologies (SP Social and Yammer)
Developing social solutions on Microsoft technologies (SP Social and Yammer)Developing social solutions on Microsoft technologies (SP Social and Yammer)
Developing social solutions on Microsoft technologies (SP Social and Yammer)
 

Más de Senthil Kumar

Entity Framework Core 1.0
Entity Framework Core 1.0Entity Framework Core 1.0
Entity Framework Core 1.0Senthil Kumar
 
Valentine with Angular js - Introduction
Valentine with Angular js - IntroductionValentine with Angular js - Introduction
Valentine with Angular js - IntroductionSenthil Kumar
 
New Things in C# 6.0
New Things in C# 6.0New Things in C# 6.0
New Things in C# 6.0Senthil Kumar
 
Windows Azure Mobile Services at ReBOOT Cloud Camp , Bangalore
Windows Azure Mobile Services at ReBOOT Cloud Camp , BangaloreWindows Azure Mobile Services at ReBOOT Cloud Camp , Bangalore
Windows Azure Mobile Services at ReBOOT Cloud Camp , BangaloreSenthil Kumar
 
Microsoft MVP Mentor Series - Speech features in Windows Phone 8 .
Microsoft MVP Mentor Series - Speech features in Windows Phone 8 .Microsoft MVP Mentor Series - Speech features in Windows Phone 8 .
Microsoft MVP Mentor Series - Speech features in Windows Phone 8 .Senthil Kumar
 
Windows phone day in Bangalore (Enabling Speech in your Windows Phone Apps)
Windows phone day in Bangalore (Enabling Speech in your Windows Phone Apps)Windows phone day in Bangalore (Enabling Speech in your Windows Phone Apps)
Windows phone day in Bangalore (Enabling Speech in your Windows Phone Apps)Senthil Kumar
 
Windows phone toolkit Session @ TechCon 2013 , Bangalore
Windows phone toolkit Session @ TechCon 2013 , BangaloreWindows phone toolkit Session @ TechCon 2013 , Bangalore
Windows phone toolkit Session @ TechCon 2013 , BangaloreSenthil Kumar
 
Location and map api in windows phone 8
Location and map api in windows phone 8Location and map api in windows phone 8
Location and map api in windows phone 8Senthil Kumar
 

Más de Senthil Kumar (8)

Entity Framework Core 1.0
Entity Framework Core 1.0Entity Framework Core 1.0
Entity Framework Core 1.0
 
Valentine with Angular js - Introduction
Valentine with Angular js - IntroductionValentine with Angular js - Introduction
Valentine with Angular js - Introduction
 
New Things in C# 6.0
New Things in C# 6.0New Things in C# 6.0
New Things in C# 6.0
 
Windows Azure Mobile Services at ReBOOT Cloud Camp , Bangalore
Windows Azure Mobile Services at ReBOOT Cloud Camp , BangaloreWindows Azure Mobile Services at ReBOOT Cloud Camp , Bangalore
Windows Azure Mobile Services at ReBOOT Cloud Camp , Bangalore
 
Microsoft MVP Mentor Series - Speech features in Windows Phone 8 .
Microsoft MVP Mentor Series - Speech features in Windows Phone 8 .Microsoft MVP Mentor Series - Speech features in Windows Phone 8 .
Microsoft MVP Mentor Series - Speech features in Windows Phone 8 .
 
Windows phone day in Bangalore (Enabling Speech in your Windows Phone Apps)
Windows phone day in Bangalore (Enabling Speech in your Windows Phone Apps)Windows phone day in Bangalore (Enabling Speech in your Windows Phone Apps)
Windows phone day in Bangalore (Enabling Speech in your Windows Phone Apps)
 
Windows phone toolkit Session @ TechCon 2013 , Bangalore
Windows phone toolkit Session @ TechCon 2013 , BangaloreWindows phone toolkit Session @ TechCon 2013 , Bangalore
Windows phone toolkit Session @ TechCon 2013 , Bangalore
 
Location and map api in windows phone 8
Location and map api in windows phone 8Location and map api in windows phone 8
Location and map api in windows phone 8
 

Último

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
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 WorkerThousandEyes
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
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 Takeoffsammart93
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 

Último (20)

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
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
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
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
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 

App to App Communication in Windows Phone 8 - VTC 2014

  • 1. App to App Communication in Windows Phone 8 Senthil Kumar Microsoft MVP – Client Development MobileOSGeek.com
  • 2. About Me • Work at Trivium eSolutions , Bangalore • Microsoft MVP – Client Development • Speaker , Blogger , Software Engineer. • BDOTNETTER( Bangalore .NET User Group ) • Windows Phone enthusiast Blog : MobileOSGeek.com Twitter : @isenthil
  • 3. Agenda • What is App to App Communication ? • Introduction to File and Protocol Association • Auto Launching with File Extension Association • Auto Launching with Protocol Association • Launching the Built-in Apps • Demo
  • 4. What is App to App Communication ? • Enables your application to communicate with another application. • Enhance the user experience and easy solutions to apps providing services outside the app boundaries. • App to App Communication via – File Type Associations – Protocol Associations
  • 5.
  • 6. Auto-Launching with File Extension Association • Allows to automatically launch the app when users tries to open a file of specified type. • File Sources can be – Email attachment – Link on a Website – Phone Browser – NFC Tag – Another App.
  • 7. User Experience with File and Protocol Associations • On File or protocol launch request – If there is only one app having corresponding file or protocol registration , the app will be launched automatically. – If multiple apps are installed with registered file association , ths user is provided the choice on which app to launch – If no apps is registered to handle the file or protocol , the user is offered the option of downloading one.
  • 11. Auto-Launching with File Extension Association • Registering a File Association • Receiving a File Launch Request – Detect a File Launch – Retrieving a Launched File • Launching a File
  • 12. Adding File Association to WMAppManifest.xml • Add a FileTypeAssociation element inside Extensions element. – Extensions element should follow immediately after Tokens element.
  • 13. Registering for File Association (Logos) Logo Size Use Domensions Small Email attachments 33X33 pixels Medium Office Hub list view 69X69 pixels Large Browser download 176X176 pixels
  • 14. File Launch Request • On App Launch from the File Launch , a deep link URI is sent to the app /FileTypeAssociation?fileToken=37dfc6ed-cdba-4424-9fa2-dba990a07486 • URI Mapper for Parsing deep link URI and mapping to the page in the App.
  • 15. Receiving the File Launch Request • Shared Storage and SharedStorageAccessManager.
  • 16. Launching the File • Use Launcher.LaunchFileAsync method for launching a file.
  • 17.
  • 18. Protocol Associations • Allows your app to automatically launch when another app launches a special URI • The URI begins with a protocol name that your app has registered for – For example , mobileosgeek is the protocol name in the below URI – Mobileosgeek:ShowProducts?CategoryID=87411445-5451-419d- a2eb-79b39c8c552c
  • 19. Auto-Launching with Protocol Association • Registering for Protocol Association • Receiving Protocol Launch Request – Detecting a Protocol Launch • Launching a Protocol URI • Reserved Protocol Names
  • 20. Registering for Protocol Association in WMAppManifest.xml • To register for protocol association , add a Protocol element inside Extensions element. – The Extensions element must follow immediately after the Tokens element.
  • 21.
  • 22. Reserved Protocol Names • Protocol Names reserved for Build-in Apps – http , Tel , Onenote etc • Protocol Names reserved for Operating System – File , telnet etc.
  • 23. Launching Built-In Apps • Launch some of the built-in apps using Uri schemes. • Use Launcher.LaunchUriAsync method to launch the apps. Eg : To launch the wifi settings app.
  • 24.
  • 25. Resources Building Apps for Windows Phone 8 Jump Start http://channel9.msdn.com/Series/Building-Apps-for-Windows- Phone-8-Jump-Start Matt Lacey's article on 325 Windows Phone apps you can launch from your own app http://blog.mrlacey.co.uk/2014/03/325-windows-phone-apps-you- can-launch.html Windows Phone 8 Training Kit http://www.microsoft.com/en-in/download/details.aspx?id=38782