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 (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_slides
moanasherrill
 
Digital toolbox researchanddevelopment_slides
Digital toolbox researchanddevelopment_slidesDigital toolbox researchanddevelopment_slides
Digital toolbox researchanddevelopment_slides
Cindy Douglas
 
Digital toolbox researchanddevelopment_slides
Digital toolbox researchanddevelopment_slidesDigital toolbox researchanddevelopment_slides
Digital toolbox researchanddevelopment_slides
Ellen Pittleman
 
Digital toolbox researchanddevelopment
Digital toolbox researchanddevelopmentDigital toolbox researchanddevelopment
Digital toolbox researchanddevelopment
chollinsucla
 
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
Dima Maleev
 
Application Virtualization overview - BayCUG
Application Virtualization overview - BayCUGApplication Virtualization overview - BayCUG
Application Virtualization overview - BayCUG
Denis Gundarev
 

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

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

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)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
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
 
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...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

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