Set image for windows mobile emulator camera - c#

I am busy developing a windows mobile application that is targeted at WM6 , one of the features i need to use is the camera. In the emulator i can test the camera fine but the image is always black(fades between black and white). I need a way to provide the emulator with a image that i have already taken. At the moment to test i have to deploy the app to my physical device and this is slowing down the process alot.

During testing (on the emulaor) use the image picker instead of the camera.

Related

VideoLan VLC media player showing green texture unity application in different screens

Currently I am working on development of an Interactive standalone application in Unity 2020.3.30f1.
Here I am using VLC player (https://assetstore.unity.com/packages/tools/video/vlc-for-unity-windows-133979#description) for streaming external device through Makito Haivision.
Application runs on Dell r7610 Graphic Card : Nvidia K5000 , it has 6 display screen which are combined through Mosaic to create single display.
Unity Sprite, texture, video player works perfect, expect VLC player.
It shows green texture in some screen and works fine in others.
I have attached the issue image.
Output Image
Upgrading Mosaic driver solved the issue.
But the application becomes slow.

Zxing.Net.Mobile barcode app not accessing Lumia 650 camera

I am currently using a Microsoft Lumia 650 with Windows 10 Mobile and I am having issues with implementing a Zxing.Net.Mobile barcode app. The issue is the camera does not appear to be used and I was wondering what could be the issue.
I have tested this same app on a developer version of windows 10 and it worked fine. I have the phone in developer mode as well as set the setting in the camera privacy settings to allow apps to use the camera.
The code that I am using is the same as the Sample Windows Phone Application listed at https://github.com/Redth/ZXing.Net.Mobile/tree/master/Samples/WindowsUniversal/Sample.WindowsUniversal.
If anyone has any experience with this or information on how to fix this issue, I would be greatly appreciative.
Thanks.
EDIT: The exact issue I am getting is that once you select an option to scan, the layout loads up but there is a white background where the cameras' visual should be. Also, the app does not show up in my "Choose apps that can use your camera" in the privacy/camera settings.

How do you set Windows CE 6.5 to landscape only using C#?

I am writing an application for Windows CE 6.5 in C#. The device will be mounted on a wrist strap so will always be in the landscape position, so I have designed the app accordingly. The problem is when you move the device when working the device switches between Portrait and Landscape. This is quite annoying and will also defeat the purpose of the program as it will slow down the users if they have to wait for the device to switch to landscape every time they want to use it.
I have researched this but have not found a working solution. I know in previous versions of CE you can set Right Handed/ Left Handed Landscape but I have checked and that option is nowhere to be found on this device.
Is there any way of programatically setting the orientation so that it does not change?
Thanks In Advance

How to run XNA rendering on Azure workerrole?

We want to use an Azure workerrole to render 3D images and combine those into a video. At the moment we're using a tool written with XNA to render the images and FFMpeg to combine it in a video.
So the problem is that Azure's workerrole is headless and doesn't have any graphic adapters as seen in this exception:
Unhandled Exception:
Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException: Could not find a Direct3D device that supports the XNA Framework Reach profile.
Verify that a suitable graphics device is installed.
When using remote desktop to access the workerrole the program runs fine and everything works as expected.
What I've already tried is using a reference device by setting GraphicsAdapter.UseReferenceDevice to true so it uses the CPU instead of GPU. This also works on remote desktop but again not on the workerrole itself. It looks like to me like the problem is there isn't a graphic context available to make XNA work in instead of something with hardware acceleration.
To make a long story short: is there a way to use XNA rendering on a workerrole without remote desktop?

Image Capture in Windows 8.1 C# Application

I have a Desktop Based piece of Touch Screen Software. As part of the process you capture a photo of the user to store later on. The Application works perfectly fine in all versions of Windows other than Windows 8.1 on a Surface Pro 3 (seems to be machines with Metro on).
When it comes to Windows 8.1 the Application Captures the image with no issues. When you then go back to the page to capture again it is unable to grab the camera to take another photo?
Using the Camera Capture in Windows 8.1 itself uses the camera with no issues again. Restarting the Surface Pro allows the camera to work in the application again for one instance and then stops again.
I've tried scouring the web but not having much luck so far. We're using the DirectShow lib
Any advice/ideas/help would be greatly appreciated.
Thanks
Paul

Categories