emulation

Genymotion Android emulator - adb access?

走远了吗. 提交于 2019-12-03 03:01:08
问题 I downloaded Genymotion Android emulators for Oracle VirtualBox (http://www.genymotion.com/) on my Windows 7 PC, created a virtual Jelly Bean with Google Apps device. How do I enable ADB access to it? In system settings/Developer options I already enabled "USB debugging", but typing "adb devices" shows empty list of connected devices. Tried adding a USB port for this VM and rebooting VM, but it does not help. Greg 回答1: We need to connect with IP address to the emulator, so look for the IP

How to keep android emulator always on top in ubuntu 14.04

跟風遠走 提交于 2019-12-03 02:41:47
How to keep android emulator always on top in ubuntu 14.04 I am using Android Studio 2.1.1 and emulator version of 25.1.6 It was working before updating Android SDK Tools to 25.1.6. AnEnthusiast I had the same issue. I solved it like below: First of all be aware that emulator has two different windows that are attached to each other. Right Click emulator top bar, and set it as always on top Right Click emulator icon on the dash, and choose "Emulator" this time use shortcut ALT + SPACE to reveal context menu and again choose always on top. And that's it! Note : every time you minimizes emulator

How to change GENYMOTION screen orientation?

蓝咒 提交于 2019-12-03 02:03:56
Is it possible to change the orientation of the genymotion emulator? Is there a shotcut or setting to change this? I've tried to google it but have not find it. Any suggestion would be appreciated,thank you. Two ways : Button in the sidebar CTRL + F11 Edit : And if it does not work, it's surely because the application in foreground is orientation locked. It seems on Mac it is in the latest version CMD + F11 and not CTRL + F11 , although it is documented to be the last one. farooq shaik When device rotates after pressing vibration-like icon, this icon disappears preventing the device from

What are the specific differences between an “emulator” and a “virtual machine”? [duplicate]

久未见 提交于 2019-12-03 01:53:58
问题 This question already has answers here : Full emulation vs. full virtualization (8 answers) Closed 4 years ago . I see that they are different things but I really can't tell why. Some people say: "emulators are for games; virtual machines are for operating systems" I don't agree with this answers because there are emulators for platforms other than videogame consoles (AMIGA (?) ) Can you help me please? 回答1: Virtual machines make use of CPU self-virtualization, to whatever extent it exists,

How to deal with branch prediction when using a switch case in CPU emulation

好久不见. 提交于 2019-12-03 01:49:20
I recently read the question here Why is it faster to process a sorted array than an unsorted array? and found the answer to be absolutely fascinating and it has completely changed my outlook on programming when dealing with branches that are based on Data. I currently have a fairly basic, but fully functioning interpreted Intel 8080 Emulator written in C, the heart of the operation is a 256 long switch-case table for handling each opcode. My initial thought was this would obviously be the fastest method of working as opcode encoding isn't consistent throughout the 8080 instruction set and

What's a good source to learn about QEMU?

给你一囗甜甜゛ 提交于 2019-12-03 01:31:05
问题 What book or website would you recommend to learn about QEMU? I'd like to see some usage examples as well as how to use the APIs. 回答1: Best Resources: Main QEMU Usage Documentation Qemu Man Page - Invaluable resource when working with qemu. Quick Start Guide - Slightly ubuntu/debian specific. Covers KVM. Qemu Networking Guide - Great resource, super useful. Have fun qemu's a great tool. Brian G. 回答2: Some additional resources to understand and get started with the source code: http://vmsplice

Android Emulator: Unable to start webcam to capture picture in emulator

狂风中的少年 提交于 2019-12-03 01:04:10
I have created an armeabi API 21 emulator in the AVD manager in Android Studio, set it to use the webcam as a front camera, and launched it. The problem is that it's not able to open it, as I'm getting this error: emulator: ERROR: camera_device_start_capturing: VIDIOC_STREAMON on camera '/dev/video0' has failed: Timer expired emulator: ERROR: _camera_client_query_start: Cannot start camera '/dev/video0' for NV21[640x480]: Inappropriate ioctl for device How can I solve this? The webcam works normally using other software. The operative system is Ubuntu 14.04. In Android Studio, go to AVD

Expanding the size of an Android Virtual Device (emulator) instance?

邮差的信 提交于 2019-12-02 23:20:29
On a relatively new emulator image (AVD) I have about 40mb of free space. How can I expand this? UPDATE: Just to be clear... I'm talking about the "Internal phone storage" size, not the SD Card size. Erich Douglass I think: $ emulator -partition-size <number of megabytes> is what you're looking for. I tried a few different values in the emulator and the "internal phone storage" setting seemed to reflect the values I passed in. If you're talking about the SD card size, I believe you'll need to make a new SD card file of a larger file, then load your AVD using the new SD card you've created.

Simulate network conditions with a C/C++ Socket

本小妞迷上赌 提交于 2019-12-02 23:05:47
I'm looking for a way to add network emulation to a socket. The basic solution would be some way to add bandwidth limitation to a connection. The ideal solution for me would: Support advanced network properties (latency, packet-loss) Open-source Have a similar API as standard sockets (or wraps around them) Work on both Windows and Linux Support IPv4 and IPv6 I saw a few options that work on the system level, or even as proxy (Dummynet, WANem, neten, etc.), but that won't work for me, because I want to be able to emulate each socket manually (for example, open one socket with modem emulation

HAXM installation fails claiming VT-X not present

我的未来我决定 提交于 2019-12-02 21:22:44
I'm having difficulties trying to install HAXM for my emulator in Android Studio. I have an hp2000 notebook; I updated Windows 8.1 to Windows 8.1 Pro to activate the Hyper-V feature and I even went to system settings to enable virtualization, but am still getting "This computer does not support Intel virtualization (VT-x). HAXM cannot be installed. Please refer to the Intel HAXM documentation for more information." My Android Studio SDK manager is showing that it's installed. Just follows these steps: Go to Control Panel → Program and Feature. Click on Turn Window Features on and off. A window