Image Capture in Windows 8.1 C# Application - c#

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

Related

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 to maximise a Windows 10 Universal Application's window to full screen when running on a desktop?

When building a universal application using Windows 10 (or Windows 8.1 WinRT), is it possible to force the application's main window to maximise on launch? This is obviously natural behaviour for the application when running on a mobile device but not when running on the desktop.
This is certainly possible using WinForms:
How do I make a WinForms app go Full Screen
How to display a Windows Form in full screen on top of the taskbar?
But I haven't so far managed to find anything in the Microsoft Documentation about this for Windows 10.
An app can request to start as full screen by setting the ApplicationView.PreferredLaunchWindowingMode to ApplicationViewWindowingMode.FullScreen
Roberth discussed this along with other view and window size issues in his Build session Navigation and Windowing in Universal Windows Apps

How to identify signs(Logos) using windows phone 8 camera

HI friends...I am going to develop Windows phone 8 app (Xaml/C#) which can identify signs (Like famous Logos) using camera. It is like capturing QR code using windows phone. As an example through my application I can scan (like QR code) and identify the Logo which appears in somewhere in board or a picture etc... (Think I have database which is filled with logo information (logo pictures an info) and I connected it to windows phone app.)So my questions are What are the image processing SDKs and libraries I can use to develop this app ?Is there any Blog post which describes those things?Any sample codes?
Thank you very much in Advance 
This is a library which has proven to work on WP7 so i'm guessing it will work on WP8 aswell.
It main purpose was augmented reality but its a "vision" library which means you can probably do loads of other vision commands (labelblobs, invert colors etc..)
Link to the library: Here
Samples of its use: Here

App hangs my Windows Phone 7 phone

I am currently developing an app that seems to hang my Windows Phone 7 phone. If I start the application and then press the home button or use the back arrow and then repeat this several times then the phone actually hangs in the middle of the app start animation and I need to restart the phone.
To troubleshoot this issue I created a new project and removed all my code and put there my xaml and animations only. My xaml with the animations inside are about 2800 lines long. When used under debugger no exceptions are thrown nor any other error messages are shown.
I created a project for demonstrating my issue. Here are the steps to reproduce the problem
Open the project in Visual Studio
Select Windows Phone 7 Device
Run the application.
Start using the home or the back button to quit the app and then relaunch it again and again.
Repro_Crash - This is the project that I am using to reproduce my issue.
Image of the Crash - from this point I am forced to restart the phone.
I am looking for hints or tips regarding how to figure out what is happening!
I've tried your project and it runs perfectly fine on my HTC HD7 NoDo. It displays only a large wall of letters without any animations and does not crash the phone. I'm using the latest Mango Beta 2 Refresh SDK.

Set image for windows mobile emulator camera

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.

Categories