Windows 10 UWP C# Barcode Sample does not see scanner - c#

I've been trying to get my scanner to work in this UWP sample, Windows-universal-samples/Samples/BarcodeScanner/cs/. However, my scanner Honeywell Xenon 1900GHD-2 is not found as a valid scanner. The project reports "Barcode scanner not found. Please connect a barcode scanner."
This particular scanner (Honeywell Xenon 1900G) is listed on the Windows compatibility list, yet doesn't work. I've tried using Honeywell's EZConfig utility to force the scanner into dedicated HID POS mode (I've actually tried all of its available modes) and it makes no difference.
I'm running Windows 10 Anniversary Update, so it should work as noted in the sample project, Windows 10 Version 1703 is the SDK target.
Any idea why it's not working?

I ran into something similar recently, and I found this
barcode while going through Honeywell Voyager 1200g manual. After scanning this, the device is being recognized as a POS Barcode Scanner in my Device Manager. And the UWP Barcode Sample solution was able to recognize the device as well. Apart from that, make sure that PointOfService is mentioned in the Device Capabilities in the appxmanifest file.

I ended up testing this on a different machine with the newest insider build and it worked correctly. I suspect that installing UPOS 1.12 on my development machine might be what caused this issue.

Related

Xamarin Won't Build on Physical Devices

I'm building a Xamarin app, and, so far, I've been able to build without issue on the iPhone Simulator, but I haven't been able to get the app to launch successfully on a physical iPhone device. In the past (about a month ago), the app was working fine on the same device. Here's some background on the specifics:
I develop my Xamarin code on my Windows machine, which is linked a remote Mac (hosted by MacStadium, a third-party hosting service).
My test phone is an iPhone 5c running iOS 10.3.3
To deploy to my iPhone, I build my app in Release mode in Visual Studio, upload the code to a third-party app installation service, Installr, which hosts the IPA file and assists with the installation of my app on the physical device. I've never had an issue with Installr and have no reason to believe that this is the source of my problem.
Since the last time the app worked on the physical device, I updated Visual Studio to version 16.3.2 and updated Xamarin. Here's the Xamarin Specs:
Generally, what happens, is that I download and install my app on the iPhone without any issue. However, when I click on the app, the splash screen loads for about 5 seconds, a white screen briefly appears as follow, then the app crashes.
I've seen several related articles on StackOverflow and other sources on the internet, but none of the proposed solutions see to work for me. For example, I've tried adding [assembly: XamlCompilation(XamlCompilationOptions.Compile)]
to App.xaml.cs with no luck.
I've also played around with changing the CSProj file settings to compile for various combinations of ARM64 and ARMv7. Changing this didn't help either. I've tried changing the linker behavior to "Don't Link" from "Link Framework SDKs Only", and I get an error message stating that the native code is too large for 32-bit architectures. I would compile for only 64-architectures to get around this error, but I believe that the iPhone 5c uses a 32-bit architecture.
Here's what my iOS Project's CSProj file looks like currently. I've tried checking just about all of those checkboxes with no luck:
I'm stumped as to what this could be. Any suggestions would be greatly appreciated. To further complicate things, I haven't been able to get a good log file from the iPhone. Since the Mac is remotely hosted, I can't plug my phone into XCode to pull the logs that way. Does anyone have a reliable solution to get log files another way?
It looks like upgrading solved the problem. Visual Studio was updated to Visual Studio to 16.3.5 from 16.3.2. XCode on my Mac was updated to Version 11.1. After these updates, Visual Studio performed an update while connecting to the Mac remotely.

Ryzen 3 with VS Android emulator

I just can't manage to start them. I have read several threads here. I need more guides to try. I've tried genymotion, Visual Studio.
I want to code in C#. My processor is the Ryzen 3700x.
My error codes genymotion telling me about virtualization, which is on from bios and in Windows. Hyper-V is OFF.
I can manage to start Android emulator with Android 4. Not higher in genymotion. And in VS I can't run my apps at all.
I simply need help to get them up and running, you have new ryzen? What's your settings?
This might help you:
https://www.reddit.com/r/Amd/comments/cgpaq4/ryzen_android_emulator_whpx_fix_for_windows/
The issue seems to be to do with Windows and has been fixed in the insider builds - you can get it working by following the link above, and without having to become a Windows Insider.
Hope this helps.

how to deploy windows phone 10 application to a device?

I am using a Nokia lumia630 device, which uses latest windows 10 insider preview build available.
i created a sample windows UWP application and took a build of the same.The output of the build is an Appx.
How can i install this Appx to my device? Anyone having any idea?
Deploying apps to Win 10 Mobile is a bit difficult when using the command line tool. A great alternative is the Device Portal that is available under the “For Developer” settings.Its available with the latest build.
Now You can connect to the device using a web browser and manage apps via the Apps page with no pairing/pin required. This seems to be an easy way of deploying apps than using command line.
Microsoft developed a command line tool called WinAppDeployCmd so you can deploy an Universal Windows app from a Windows 10 machine to any Windows 10 Mobile device via USB or WiFi (since they're on the same subnet). That's a perfect solution if you doesn't have Visual Studio, the app source code or you're under a Hyper-V Virtual Machine.
Basically you will need:
Windows 10 SDK
Generate the .appx package (PC)
Enable the developer mode (Mobile)
Turn on the discovery mode (Mobile)
Get the code to pair devices (Mobile)
Get mobile IP address using WinAppDeployCmd tool (PC)
Run command (PC)
The command will look like this
WinAppDeployCmd install -file “<path>” -ip <ip> -pin <pin>
The tool can be found at C:\Arquivos de Programas (x86)\Windows Kits\10\bin\x86\WinAppDeployCmd.exe
You can find a detailed step-by-step tutorial here
Visual Studio allows you to directly deploy an app to a windows phone. You need to register your windows phone as a development phone with Microsoft. Once this is done, you could use visual studio to do this for you. Not sure if you can deploy windows 10 apps to your phone at the moment. Try this link and see:
https://msdn.microsoft.com/en-us/library/windows/apps/ff769508%28v=vs.105%29.aspx Remember to Upvote if this helps.
You can register your Windows Phone 10 in developer mode. Follow these steps and you can achieve your goal.
When you use device portal like mentioned in the answers above, some might get the following error
"Failed to start deployment. Failure text: Package failed updates, dependency or conflict validation. (0x80073cf3)"
To fix this:
Add the dependencies found under "Dependencies/ARM" folder.Add it here.
I had to add following dependencies to make it work:
Microsoft.NET.CoreRuntime.1.0.appx
Microsoft.VCLibs.ARM.Debug.14.00.appx

C# program to run on window mobile 5.0 to scan QR code

im new in window CE application development. i need to develop a windowCE application using visual studio 2008 professional edition. i have installed windows mobile device center, windowsCE emulator 3.0.the program should allow user to scan a QRcode using MC70(windows mobile 5.0 device). the QR code information will be display and store in to database.
through my research, i downloaded and installed the software needed to develop a window CE program. the next stage now is to program it out. i could not find a complete sample code or complete QR code related library.
any one can help me with this issue? really need help to develop a QR code scanning program in C# to run on Window CE platform.
Thank you in advance.
You asked a very similar question a few days ago where I suggested you should download the Motorola EMDK.
Do not use the emulator - it doesn't work with manufacturer-specific APIs. Debug on the device directly!
The Motorola EMDK for .NET includes several samples that show you how to write programs to scan a barcode. Please note that for your scenario to work, you must use the device's imager, not the 1D laser scanner unit.
On my Win7 64 machine these samples can be found in C:\Users\Public\Motorola EMDK for .NET.

How to run the C# SkeletalViewer sample provided in the Kinect SDK?

Just downloaded the new Kinect SDK Beta from Microsoft and am really excited to start working. Only problem, I can't figure out how to run the provided SkeletalViewer sample program (the packaged executable runs fine but not the source code). Whenever I try to run it I get a FileNotFoundException for "INuiInstanceHelper.dll" at
nui = new Runtime(); //Line 78 in MainWindow.xaml.cs
Any ideas on how to fix it?
Update:
Looks like it works now... I did not do much beyond updating Windows and maybe more importantly installing the DirectX Client (thought I already had it).
I had the same problem.
The things you need to take into account for the camera are:
Install the Kinect SDK from Microsoft.
Connect the Kinect sensor to a full powered USB (preferably, one on the back).
Reboot your system at least one time after everything was installed. (My problem was originally fixed with this step)
And for the speech recognition:
If you are using a x64 bits version of Windows, when you install the speech prerequisites (they are listed on the readme), ensure to install the 32 bit version of the Speech library even when you OS is x64.

Categories

Resources