Uri Scheme for Movie in the Microsoft Store - c#

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

Related

How can I launch google photos app from within Xamarin.Forms?

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

Detect Twitter submit Android

I am currently writing an android app.
I intend to run my application in the background of my phone and I want to be able to detect when I submit a post using the Twitter app on the same device.
Is this even possible?
When you create the OAuth customer key in the Twitter Application Management (url https://apps.twitter.com/),
- that is one of the preliminary steps to implement the authentication-
you'll define there the source field (look for instance at the documentation from https://dev.twitter.com/overview/api/tweets) that will be reported in all the tweets posted by the API of your newly created Twitter app.
So when you get your tweets, you'll detect the ones posted by that specific app (on your phone).
More generally I have published an open source Twitter app for Android on github: https://github.com/giuliohome/TweetSearch just look at the API call where I retrieve the source of a Tweet for more details, basically a simple
jsonObject.getString("source")
By the same field you can detect the tweets posted by the official Twitter app for Android on the same device - assuming it is the only Android device from where your username is twitting with the target app, otherwise I'm not aware of any legitimate and standard way to detect the physical device

Create a payment via the Windows Store in Windows Universal Apps

Is possible to create a payment via Windows Store when purchased content is a HTML content downloaded from cloud in Windows Universal Apps? I was only able to find, that Window Store provides:
Time trial
In-app purchases (this is close, but with in-app purchases all content must be part of application and I'm using downloadable HTML content from cloud, which isn't part of application)
Ads
So, I'm basically talking about situation, when Windows Store works like Payment system (like PayPal)... Or can you give me any advice how to handle this type of purchases across platforms (iOS, Android, Kindle, ...)?

Windows 8 phone app linking to other downloaded applications and store

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:"));

Winrt app - navigate to another application

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?

Categories

Resources