Is it possible to use my desktop pc's webcam with the hololens 2 emulator? - hololens

is there a way to use my webcam within the hololens 2 emulator to capture images/videos?
I'm currently trying to develop an app with unity + hololens 2 emulator and i've googled the entire internet without finding an answer.
Basically what i'm saying is "can i see what my webcam sees through the emulator?"

This is not currently possible. We are investigating the possibility of adding this in a future update.

Related

Are there any Chromecast solutions for multiple displays using macOS?

I am trying to find a Chromecast solution, whether I write it myself in macOS/Swift, or there is something already in the works. I came across the Chromecast SDK, but I see it only support Android and iOS. Has anyone had any success porting to a macOS app? I'm interested in a Chromecast solution because the devices are relatively inexpensive considering other wireless HDMI devices out there.
I am an entertainer and my goal would be to replace my HDMI cable with a wireless solution to extend my display (not mirroring the main display on my MacBook Air) to multiple TV's (up to four) for my app, which displays a game log, advertising, and some minor animation for game winners and losers that my patrons see.
Any recommended first steps to coming up with a Chromecast solution, or should I continue looking in other directions?

Is there a way to test a Android Sender app for Chromecast using the SDK's Android emulator?

Without support for Google Play Services and WiFi (similar to the 3G network support, through the host's network connection), the SDK's emulator is useless for Chromecast app development. I know we can use real hardware, but some things are simpler using the emulator, especially quickly testing changes on a wide range of devices.
We're about to start developing the iOS version, here's hoping the Apple emulator is better!
The main issue is with the mDNS discovery that is not supported on the emulator. We currently have no plans to work on that (this is copied from my comment, made it an answer and removed the old answer that was irrelevant).
Update: Cast discovery now is supported in the emulator.

iOS BLE - How to keep app active in the background?

I am trying to find a clever way to keep a BLE app active in the background on iOS 6, without breaking any of Apple's rules. I plan to use the phone as a peripheral device and another BLE circuit as the central. My app will automatically be opened when a user arrives to a building using geofencing. After that the iPhone will connect to the first BLE central device it sees (the device will be in its white list). The user will then be able to move throughout the building switching to different BLE "nodes".
My question is: What do I need to do in the background when a user is stationary at their desk so that the app does not get suspended due to memory resources?
My idea is based on this solution for a separate problem: There could potentially (not regularly) be 10-50 users in an area with only a few BLE "nodes" and I read at bluetooth.org that I could setup a dynamic connection system, basically rotating connections through all the users.
My idea is to setup a similar dynamic system where the central device (not the iPhone) disconnects the device on regular intervals (30-40 minutes) and then the iPhone will reconnect.
Is this something that some feasible? Is this against the iOS development guidelines? I was unable to find anything explicit about this. I have also asked on the iOS developer forum, but unfortunately it is not as popular as this site.
Thanks in advance!
Xcode -> Project target -> Capabilities -> Enable background mode
Check Uses Bluetooth LE Accessories
Capabilities
Also enable the following key in .plist file
Required background modes
App communicates using CoreBluetooth
Plist

Bluetooth SPP device on Windows 8

I've been banging my head against the proverbial wall trying to working out how to talk to a Bluetooth device that uses the Serial Port Profile (SPP) in a Windows 8 Metro-Style App. I'm starting to come to the conclusion that it's not currently possible, but was wondering if anyone else has been able to get this to work, or can think of anything to try.
There doesn't seem to be an API available to do this, but would it be possible to connect to a device at a lower level?
According to a Microsoft rep, this is not possible in Metro:
http://social.msdn.microsoft.com/Forums/en-US/tailoringappsfordevices/thread/0cb2a6c1-d1f1-4872-aa32-709acd90b94d
It should be possible to write a custom driver to accomplish this, but that is significantly more of a challenge than writing a Metro app.

J2ME: how to test Bluetooth application on emulator?

I want to write an application that sends text from one device to another. How can I test it with an emulator on a PC? Is it possible with the Sun Java Wireless Toolkit?
Yes, it is possible, at least with version 2.5.2_01
Just launch the emulator 2 or more times, and the phones "find" each other

Resources