I would like my app to link to other installed apps on the users phone, such as facebook. Once they click the icon/button it should switch from my app to the selected app, the code should check that app is on their phone. If it is open the app, if it is not open the store page, for that app so they can download it.
Is there a way to link or to navigate to the app? or store? (c# and XAML).
Thank you in advance for your help :)
All you need is URI for the app. It will open the app for you and if the app is not available. It will automatically take the user to the store so that he can download it. This will only work if that app has a Uri available.
Here and Here is a list of apps that support Uri scheme
For example, You can open Facebook App by this code
Windows.System.Launcher.LaunchUriAsync(new Uri("fb:"));
Related
When using
Launcher.OpenAsync("http://maps.google.com")
the google maps application opens beautifully but with
Launcher.OpenAsync("http://photos.google.com")
it opens the application in browser.
According to the official docs,
the OpenAsync(String) Launches the app specified by the uri scheme
So if you set the url like below it'll start the google photos application.I tested it on my side and it does open the application.
await Launcher.OpenAsync("http://photos.google.com");
Update:
If you want to launch the app respectively, please try use the following format of links:
for instagram
instagram://user?username=yourUserName
for twitter
twitter://userName?user_id=userId
for facebook
fb://page/page_id
I'm developing a Windows Store app. In the app I'm using the Groove SDK to query the Microsoft Store for movie titles. I can get the movie I'm looking for along with all of it's meta data. How can I launch the Windows Store app to show the user the same movie as available from Microsoft?
This has been very confusing. I have a Surface with Windows 8.1. It comes with the Windows Store app, a Music app and a Video app. The Video app says "xbox video." I've read that it has now changed to "Groove." I've look for documentation on how to link content but have found nothing.
the Groove SDK APIs will return deep links to content. Launch this deep link using Windows API
Launcher.LaunchUriAsync(new Uri(myGrooveDeepLink));
Notice that you will have to add a "target=app" parameter to your uri to launch the app instead of the web site.
https://msdn.microsoft.com/en-us/library/dn546675.aspx
How do I make my Universal Application launch an another application like Twitter?
For example, opening Twitter and make it show a given profile (#somebody).
I came across this webpage while trying to launch an external windows store app through a webpage.
This was very handy to get it done.
https://comentsys.wordpress.com/2015/05/13/windows-10-universal-windows-platform-web-browser/
I have an application named MyApplication. What I am trying to do is to do deep linking.
I would like to associate a link that when click on my Windows Phone 8.1 XAML, the application will be launched with the elements passed.
For example: MyApplication://item/1234 -> will open my application.
I am trying to do this from outside of an application is this possible? for example if I clicked on this link that was in an email, could it be redirected to my application?
Edit:
Here is part of the solution but i am not finding what i really wanted to do:
Uri Activation(XAML)
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh779670.aspx
Code:
https://code.msdn.microsoft.com/windowsapps/Association-Launching-535d2cec
You sure can. Create the protocol (something like test:) in your app and deploy it to your machine. Then, in Start>Run type "test:" and your app will load just fine. A link in email? Sure. A link in a web page? Sure. It all works.
A little more: http://blog.jerrynixon.com/2012/10/walkthrough-using-windows-8-custom.html
Best of luck!
I'm developing winrt (or windows store) application. I would like to navigate to another (installed) application, but I didn't find solution for it. E.g. I have twitter section with tweets and after clicking on some tweet user should be redirected to windows store twitter application directly to clicked tweet. I read How to launch the default app for a URI but there is not what I need. Do you have some experience with this issue please?