MC75 using symbol.imaging.device libraries for program - vb.net

UPDATE:
I found another library in the Windows Mobile - CameraCaptureDialog - this did the job - never did figure out the zero length available devices...
Hi all,
I have a .net application running on a symbol mc75 (motorola) using the scanner. I am now trying to add functionality for the camera and I am running into issues.
To find the 'devices' you are supposed to use the library's 'available devices' function.
With the barcode it is symbol.barcode.devices.availabledevices and it returns two items (you can scan from the scanner or using the camera device)
However, when I do the camera library it does not find any devices - symbol.imaging.devices.availabledevices returns 0
I can take a picture using the software on the mc75, so I know the functionality is there, I just can't figure out how to get to it programmatically....
Does anyone have any ideas?
Thanks for any help!

I had the same problem - Symbol.Imaging.Devices.Availabledevices returned zero devices but I could use the scanner without problems.
When I installed the Imager API Support v1.00 For Color Camera, Symbol.Imaging.Devices.Availabledevices returned 1 device and I could use Imager from Symbol.Imaging to take photos.

Related

Send real-time video via wifiSend

I would like to make a personal application to be installed on two iPhones. The first to be used as a webcam that transmits to the second via wifi.
Having no experience with xCode, I am looking for a code example to connect 2 devices via wifi and transmit a real-time video stream.
Unfortunately, the documentation and examples I found are deprecated or partial and inconsistent.
Where can I find some code examples to help me solve my problem, preferably in ObjectiveC (but also in Swift)?
Thank you

How to change Default Recording device using LabVIEW?

We have a LabVIEW application that is based on sound acquisition.
I connected a Custom USB Audio device (Microphone). It is set to be the default Recording device.
But while running the application, if there is another mic source connected, then sound is being recorded/acquired by the other mic and not the default one.
So in order to have the custom microphone do the acquisition, I tried to change the default Audio Recording device through LabVIEW. But all I can do is list the audio devices connected by running a PowerShell command through System Exec function.
Is there any possible way to change the default recording device using LabVIEW? Please do mention if any.
Back in the day, I had a similar requirement, I did the following!
Get All microphones connected on the PC.
Once I get all the Device IDs, I performed a search using "Device Name" to get the Device ID I needed!
Note: If the above VI returns only one microphone, then make sure you've installed DirectX on the PC.
I hope this helps :)
Hello am very late for this information, but I can provide you with a few things you need to do.
Tap setting
Choose my device
Difficult device
Select and activate
Or
Visit Cpanel select program and tap on device activety, now choose difficult setting.
To change difficult device follow each of the steps above:
1.Setting
2.Device
3. Select difficult program
May any changes you want then done.

UWP access buttons

Helloo all
I'm currently developing an app for surface pro 3 that should be capable of:
detecting whether touchscreen was tapped and where
getting device information (product ID, amount of RAM, CPu model etc.) done by launching console application first which is capable of getting this information and saves it to a specific folder, UWP app can read its results from there and log them.
accessing sensor data like: accelerometer, gyroscope and ambient light sensor
testing cameras as i can command an app to make picture using either front or rear camera
testing microphones (both front and back)
testing speakers (i made synthesizer that is able to make beeps at given frequency at given stereo mode (left or right if both)
testing wifi - so it can connect to desired wifi network
bluetooth (swill working on it...)
I have already figured out quite a lot and put out a lot of work into it already, all listed tests are already developed on that UWP application so switching to completely different platform means rewriting whole app which I don't have time anymore.
UWP was chosen because this can run on different windows 10 devices and after completing this app the same app (with minor modifications) will be used on other windows 10 devices (like other surfaces and many different windows 10 phones)
This app will be automatically installed on a factory-resetted surface pro 3 that has no special configurations enabled, so tinkering with its settings is resource-hungry and not recommended process at all.
Now I have some other serious issues regarding of device:
how can I test the functionality of all the buttons Surface pro 3 has ?
It has 3 buttons: Volume up, Volume down and power button
but pressing power button sets screen to clack and locks device.
Can I make app override basic functionality of a button so that if button is pressed it detects it and logs its result.
same question goes to volume up and down buttons.
Only similiar questions about this are here:
Another thread on StackOverflow
I also cannot use same solution as I did with getting device information because test must be repetitive while app is running. (and UWP app cannot launch console application by itself)
Any help regarding this topic is highly welcome.
First for the power button behavior try this :
https://www.windowscentral.com/how-customize-power-button-action-when-pressed-windows-10
I don't have a surface so I cannot test it
also, I do have some inputs and thoughts about your app:
it seems to me that you are doing some sort of sanity check software for pieces of hardware I'd suggest looking into this
https://support.microsoft.com/en-my/help/4037239/surface-fix-common-surface-problems-using-surface-diagnostic-toolkit
https://www.lovemysurface.net/surface-diagnostic-toolkit/
additional thoughts of mine :
Overriding hardware behavior programmatically ould be considered as a harmful action especially when it comes to prebuilt devices such as the surface and by extension, I don't foresee MS providing API's for such a capability also such button might be communicating to the hardware directly rather and doesn't go through the software, runtime or the OS at all, changing it manually using the link i provided might be reflecting some registry settings changes but since UWP apps run in containers and cannot directly edit registry there is a dirty workaround look into this
read/write registery key file in uwp
hope this would help
You can use SystemInformation helper class from windows community toolkit it gives you a lot of details about the device.
https://learn.microsoft.com/en-us/windows/communitytoolkit/helpers/systeminformation

Camera Remote API for Sony a7II 'not available now'

Let me start by giving some context: I have a Sony a7II camera which I wanted to control remotely. There's an app for that (PlayMemories) but it doesn't have all the features I need. So I decided to write my own app using Camera Remote API.
What I achieved so far: I have established connection between camera and phone, I have a working liveview and I'm displaying current aperture value on screen ('currentFNumber' from getEvent response).
What I'm trying to do: change aperture value. Calling getMethodTypes returns setFNumber as supported for my camera model. And here's the problem. It's on the supported list but not on the currently available list.
ShootMode is set to "still" and camera status is "IDLE" but when I check for 'setFNumber' availability it says 'currently not available'.
Answers for similar questions on stackoverflow suggested changing CameraFunction to 'remote shooting' but for me it's unavailable (error 12 'No such method'). When I check currentCameraFunction it's giving me null.
StartRecMode doesn't seem to be required (there's only 'stopRecMode' in currently available API calls).
So here's my question: am I missing something else or is it possible my camera software is faulty? I'm kinda stuck with this problem for a while now and I'd really appreciate some guidance. Thanks!
There are a couple things to check here:
Check that your camera has the latest firmware. http://esupport.sony.com/US/p/model-home.pl?mdl=ILCE7M2&template_id=1&region_id=1&tab=download#/downloadTab
Check that you have the latest Smart Remote Control app installed on your camera - https://www.playmemoriescameraapps.com/portal/usbdetail.php?eid=is9104-npia09014_00-f00002

WiFi scan data is not working in android M

I want to develop WiFi scan app. The app is working fine in below android M. Above android M, I used ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATION its working fine if I switch ON my GPS. If I switch off my location the WiFi scan is not working Please help me to solve this problem.
Starting from Android 6.0, GPS must be enabled to get any results from wifi scans.
You can check this thread (https://code.google.com/p/android/issues/detail?id=185370) for further information. It appears it is an intended behaviour:
Thanks for the suggestion. Our development team has looked into this bug and decided that it is working as per the design.
WifiManager#getScanResults() returns an empty list if location is turned off for the device.
It sucks, I agree, but that's how it is for now.