I am developing a Windows desktop application which communicates with a fingerprint device with their provided .dll library. I developed a complete functioning application in WPF application. But while upgrading the application to UWP application it doesn't communicate with device where it works fine in WPF application. I added device capabilities with Vendor and Product ID in App manifest but still no progress. What is different in WPF and UWP in communicating with USB Mass Storage modules from the application?
Related
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 am trying to create a C# Universal Windows app to run on Windows IoT running on Raspberry Pi 3 and the app communicates with mass storage devices connected via USB ports. I want to send USB commands which I used to do in desktop apps by opening a SafeFileHandler and then writing commands. Is this at all possible in Universal Windows apps world?
I would also like to run a format command on that USB mass storage device from my app. This needs admin privileges when running in a desktop app. Is there a way to run apps on Windows IoT as admins? or does it work like that out of the box?
Would really appreciate any help or direction as I've been struggling with this for days now. Thanks.
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.
I am developing a survey designer application in .NET C# which exports the surveys to a file which is sent to android devices. The android device will parse the survey file and show it in the survey mobile app.
Now, I want the user to be able to preview in the .NET application, so they can have an idea of how the survey will look in the android device by displaying the application in an android emulator. Furthermore, I want the emulator to be shown inside a windows form or panel.
My question is: is it possible to show the android emulator inside a winform application and is it possible to communicate with it? In other words, is there any APIs or extensions for Android Emulator in .NET framework?
I have searched the internet for the topic but most results talk about communicating with the emulator via TCP port and launching the application by creating a new process in the .NET app.
It is important to me to be able to display the emulator inside my application since I do not want to deploy multiple applications to my clients.
You can access a Hyper-V instance programmatically using its WMI provider. The Hyper-V instance can run without visible window to the user, and you can send mouse clicks & keyboard input, then take a screenshot.
But, it seems to be infinitely easier and lighter to just replicate the layout logic from the Android app in your C# app. If you went with the Android Emulator route, you're hosting a minimum 512 MB process and all the CPU & GPU usage involved.
I want to have a WPF application running on my desktop to communicate with the windows phone. For instance my WPF application should bring all the contacts/messages from Windows phone to local disk. Then I have to store it somehow. But it is the data fetching part which I have to go through first.
Phone would be connected to PC via USB cable. Is there any library available for c# which can give me methods to extract such phone specific data when phone is USB-connected to the PC?