I have a UWP app and Unity3d app build for Windows. I have a requirement of establishing communication between UWP app and Unity3d app.Both apps will run on same computer.
Development of Unity3d app and Universal app(Windows 10 native app) both are done in C# language.
Communication should involve:
Launching and closing Unity3d app from UWP app.
Send data from UWP app to Unity3d app.
Receive data from Unity3d app to Windows native app.
I had searched for resources for this but unable to find any. Could someone please share possible ways to achieve the above and resources/examples for those.
Thanks :)
i did this via an Appservice: https://msdn.microsoft.com/en-us/windows/uwp/launch-resume/how-to-create-and-consume-an-app-service in your normal xaml app host the app service and let unity consume data from it.
And via protocol activation the apps can start eachother.
Related
I'm attempting to develop an Xbox Game Bar Widget, which obviously needs to be UWP. I need it to communicate with my separate unpackaged desktop app. The regular desktop app has to be unpackaged because it requires admin rights in order to read CPU temperatures.
I've tried using Named Pipes as the Microsoft Docs page suggests, but I'm having issues creating/connecting the pipes on the UWP side. I just keep getting Access Denied exceptions. I've had trouble finding information/examples on interprocess communication between UWP and unpackaged apps. Any direction / advice is much appreciated.
I have a uwp project and a windows app (net5).
Both are installed in the same machine (same will happen in production), but the uwp is installed using sideloading, not on windows store.
The windows app gets some data by listening to a wss port. I have to pass those data from the windows app to the uwp app and also wait for a response back from it.
To do this internal communication I came across the AppServiceBridgeSamples in this repo https://github.com/microsoft/DesktopBridgeToUWP-Samples but it is outdated and I can't use it.
Is there any alternatives to it? What would be the easiest implementation to achieve this?
Any suggestions/comments are appreciated.
Currently, the general way to implement a communication channel between a UWP app and a windows app is by using App service. This is not outdated. If you don't want to use the App service, you have to build your own socket server so that both of your apps could communicate with it. Another way is that your windows app could save the data in a local file and load them in the UWP app.
I want to develop a (Universal Windows Platform) UWP app that will run locally. But another requirement is that 2 or more of the same UWP apps will be on another PC as a client. In the same local network, the database will be using sharing across all devices.
And of course, authentication and authorization will be needed on my UWP App.
I've done those in Web Apps using supported libraries according to the used language. But no idea how to implement it in UWP and local-network applications.
I've targeted to use UWP C# and MySQL database.
What would be the architecture of the App and popular tech stack to use because I'm not familiar with the C# world? Thank you very much.
I want to stream live camera frames from my Windows 10 computer to my iPad, which will display the frames, in real time.
I want to develop on Windows 10 using Visual Studio for both the Windows 10 app and the iOS app.
I'm considering Windows Universal > Blank App project for the Windows 10 computer app,
and iPhone & iPad > IOS XAML APP (XAMARIN.FORMS) for the IOS app.
Which TCP socket technology should I use for the Windows UWP app, and which for the IOS XAML app?
For the iOS application, I'd use libvlcsharp which is cross-platform .NET/Mono bindings for libVLC. It should be quite simple to setup for receiving a video stream from the UWP application.
Then on the UWP side, Microsoft provides a good example of capturing and streaming video using the Media Capture API in the Real-time communication sample on GitHub.
I know that this doesn't directly answer your question about creating the TCP socket but should anyway point you to the right direction. It's been a while since I looked into developing a similar solution myself.
I have a cross-platform Xamarin.Forms app (iOS and Android) which provides a specific service. This service code is in PCL part of the project and I want to use it on web client as well using my app as server. Is there a way to implement TCP server in the app which listens to incoming connections and provides with the service.
Do I have to use platform specific background services to run TCPListener? The server should only be running when the app is in foreground.
I have tried to look for answers over forums and got bits and pieces.
All I need right now is right direction to go to:
Server Client Application with .NET and Xamarin
Xamarin.Forms Background Thread
Sockets PCL Plugin
Any kind of help is highly appreciated.
Cheers.