Android Virtual Device Reset Camera Position - android-virtual-device

The Camera in my AVD has been rotated to don't know where, and I am having a hard time to rotate it back to its original position on my i5 (without GPU, at 0.1 fps).
Is there a way for me to reset the camera view?
Or best, just change the camera to a static wall paper. Because I only need to test some QR Code scanner.

in device manager, choose "Cold Boot Now", it work for me

What worked for me was to change the AVD config.
In the AVD Manager you can edit the AVD.
Under advanced settings there is a Camera section and I changed the back facing camera to my webcam, saved the change and tested it.
Then I went back and changed the setting back to VirtualScene, saved it and the camera showed the Virtual Scene and was back to original position.

Related

Androidthing UI not visible on Resberry Pi3 board

I am connecting the android thing to the resberrypi3 board, initial setup is completed, but when I tried to view android thing display on Vyser via wifi I can see blur image, I expecting android thing boot screen.
I tried blink LED sample it's working fine on board, as Led blinking but No UI visible(add UI in code).
if you are able to blink an LED, it means your installation worked, and that's great.
The problem you're having is that Vysor starts off on a very low resolution that will show the contents of the screen exactly how you're describing. You can change that by clicking on the cog icon next to where your device shows in Vysor and changing the resolution to something slightly higher and it will display nicely.
If you're still unsure, you can also connect your Pi to a screen via the HDMI port and you should be able to see your Android Things startup screen or screen for your application.
Hope this help you

Object floating and moving with user movement

i'm trying to create a simple Tango application to visualize my 3D models. The problem is that, when I hold my Tango device and move around, I can see my model is also moving with me.
Looks like my physical movement is not reflected in my Tango app in correct scale - like when I stepped for 3 feets, I only moved 2.5 feets or so in the app. However I found other Tango applications on the same device works perfectly - their 3D objects are stable and stays on the same spot without moving.
Please advice. Thank you.

Unity Animations on HoloLens not working

I have created a HoloLens app using Unity 3D. In the app I want to show a text canvas with some animation on click of a button. I have done this with Animator control and script to open an Animation state on click of a button. This is working fine when I try on Unity Preview. However when I try the same app on HoloLens emulator or on device the animation doesn't work. The canvas opens up simply without any animation after some delay (I think delay of animation to be completed). This is not the case for Unity Game Preview.
Please let me know what else we do to support Animations made in Unity on HoloLens.
I have fixed the issue. Not sure what was the exact problem but the cube object was mashed off as added some components, which might not actually needed.
Freshly re-designing the cube and animations worked.

Unity: GUI button with event trigger as virtual control pad on Android phone

Let's say I have two GUI buttons with EventTrigger as virtual key. The expectation is whenever a button is pressed, the camera will rotate until the button is released.
At the beginning, I used the pointer Down and pointer up function. It works, but it extremely sensitive, the camera rotation didn't stop at the moment when I release my finger. I've solved this problem by using drag function (whenever dragging is detected, the camera stop rotating something like that).
However, there is still a bug that I couldn't solve, that is if I swipe the button instead of touch&release, the button doesn't release. eventually the camera just keep rotating until I touch the button again. I've tried all the event trigger function such as pointer exist, end drag etc.
I just want the touch input works as perfectly as the keyboard input.
This problem doesn't shown when I debugging on unity remote, only when I build it on my phone. So is that hardware issue? (I'm using mi3)
Thanks for having time to read my broken English.
I'm so sorry that I've asked a stupid question, since I'm still kind of beginner. The problem is somehow it didn't update when I installed it in my phone. It actually works fine.

Is that possible to turn off the camera indicator led (iSight) when capturing on mac osx?

Problem Situation:
I have a program which open the iMacs' iSight camera for recording (used by government). I got a tutorial and made my version via QTKit, while the camera's green indicator led is always alerting the user that you are being captured~~~
Is that possible to turn off the camera indicator led (iSight) when capturing on mac osx?
This program will never be used by citizens.
Any Guide, Appreciated.
No, it is not. The iSight camera LED is controlled by the camera hardware, and is always lit while the camera is active.

Resources