I am working on a C# UWP application in which I need to integrate Skype For Business. I need to provide the following functionality: automatic log in, view users' statuses, send and receive chat messages, video call and share screen.
What is the best way to achieve this?
There is no official Lync SDK out for WinRT or UWP apps, please see the suggestion in here
Related
In Silverlight it was once possible to register an app for the edit-dialog in the photo hub (https://msdn.microsoft.com/en-us/library/windows/apps/hh202966(v=vs.105).aspx).
Is there an UWP-equivalent now? Or is there any other way, my app can be started from within the photos hub?
This functionality is not currently available in the Universal Platform. You can use the Windows Feedback tool ("Developer" section) or UserVoice to request that it be made available.
I'm trying to add functionality to allow sharing a screen shot of the app screen, using the Facebook sharer facility. But I can't find any relevant sources to set this up on Windows Universal.
Does anyone know the steps involved in setting up the Facebook Api in a Windows Universal application?
Or can you point me in the direction of a worthwhile link on the subject.
After logging into the FB developer dashboard, and clicking "getting started" , a screen showing the available platforms shows, not including Windows.
I assumed that the correct option to pick would be "Website" , but as the setup process doesn't seem relevant to Windows Universal development, as setup asks for a website URL:
At this moment, Facebook doesn't have an official SDK for Windows but you can use any of the open source alternatives.
I suggest you use the 'C SDK' library (http://facebooksdk.net/). I have never used it myself but it seems quite mature and popular.
I am helping to build Elpis, which is an open source pandora music player, built with C# and WPF.
Now what i want is to add an HTTP API so that the user may control the program through a browser, like play/pause, like/dislike the current song.
The point afterwards is to control the program through a mobile device accessing the HTTP API.
How exactly should i build the HTTP API so that it can control it?
Github for the project: https://github.com/adammhaile/Elpis
Without knowing why exactly you want the user to control a GUI application via the browser, it's hard to give you good advise.
Assuming you are running your GUI on Windows, take a look at OWIN and the project Katana. They allow you to easily host HTTP interfaces in your own application.
It may be overkill for your project but I would suggest using ASP.NET Web API so that you can build backend web services.
The easiest way to do what you want, assuming you really want to "control the GUI remotely" is to just install TeamViewer on your PC and on your mobile device. Then you could remote in and completely control your GUI.
But I what I think you're after is something more like Google Music. Where you can stream your music through the Internet and onto your mobile devices. If this is the case, I recommend you look at the ASP.NET Web API.
It's not hard to build a web server in C#. You can embed it into your application, and expose parts of your application to HTTP endpoints as an API. You can use the HttpListener class which is part of .NET, and do everything from the ground up yourself. Or you could use something like Nancy, which is a lightweight framework that provides a lot of useful scaffolding like URL routing.
Ended up using Kayak(https://github.com/kayak/kayak) for my self-hosted API.
The example of integration can be seen here:
https://github.com/adammhaile/Elpis/blob/master/Elpis/WebInterface.cs
I am developing a Xamarin PCL app using Xamarin.Forms and have a requirement to log in to it through Azure Active Directory. I have tried to achieve this by using Xamarin.Auth, however it seems that Azure AD doesn't support implicit grant flow as pointed out in the following link:
getting #error=unsupported_response_type&error_description=AADSTS70005: with token request
I am receiving the same error as described in that link. Does anyone have any idea how to go about this? I basically just want to be able to load the following page : https://login.microsoftonline.com/, log in using my azure active directory and on receiving a valid token, load the first page of my app. This is a requirement for all 3 platforms (Android, iOS and WP8), although right now I am just trying to get it to work on Android.
Many Thanks
in Azure AD we don't uswe the implicit flow for native clients - we use a public client version of the authorization code grant. If you want to work with AAD and Xamarin in a PCL we have a preview of the next version of our libraries, you can find more details in http://www.cloudidentity.com/blog/2014/10/30/adal-net-v3-preview-pcl-xamarin-support/. Note that such library is a very early preview that WILL change and that cannot be used in production at this point. An alternative is using Xamarin bindings to our iOS and Android native libraries, but those aren't suitable for a PCL.
I'm writing a C# .NET Compact Framework application and would like to embed ads into it (e.g. small banner on top of every screen). However, I couldn't find any advertising SDKs. Aren't there really any?
If implementing it from scratch, how would you do it? Google's Ad Sense for example only works with mobile websites (that can be reached by Google's bot).
Most mobile ad networks are focused on iPhone apps, but the only one I could see that supports Windows Mobile is SOMA by a company called Smaato.
Amobee has a advertisement SDK that can return a banner of predefined size to an application.
They offer a JAVA Api, but getting an ad from their service is as easy as accessing a URL with some query-string and downloading a image.