emulation

Run Sparc binaries without Sparc hardware

蹲街弑〆低调 提交于 2019-12-03 06:58:14
I've been curious in the past few months in trying my hand at doing some assembly for the SPARC processor (either V8 or V9). My question is this, I have no access to a SPARC machine, is there a way I can run SPARC binaries on my x86 machine? I've looked at QEMU but I am not too sure how to set it up. SimICS emulates a Sparc platform. Academic and personal licenses are free. Edit: I didn't do SimICS justice in my initial response, it is a very useful tool for Sparc-based development. You can instrument, profile, and explore the behavior or code in both user space and kernel space. I first

How to send key events to a headless emulator in an instrumentation test?

一世执手 提交于 2019-12-03 06:55:09
We are currently working on an instrumentation test suite which runs on our build server, but while the tests pass on a dev machine using a normal Android emulator, the builds fail on the build server since there we only run a headless emulator with the -no-window flag. The failure occurs when trying to invoke the InstrumentationTestCase.sendKeys() method to programmatically open the options menu. The error is: Permission denied: injecting key event from pid 646 uid 10026 to window Window{43d55100 paused=false} owned by uid 1000 We then found out that there's a INJECT_EVENTS permission, but

Send Sms With Genymotion [closed]

為{幸葍}努か 提交于 2019-12-03 06:36:50
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I'm new android developer and I want to Test an app works with sms service . i want to test my app with Genymotion emulator but I cant find a way to send message ! Is there any way to send and receive SMS with Genymotion emulator ? No, for the moment, you cannot send/receive SMS with Genymotion. This is still in the "todo list" of the Genymotion dev team (I'm part of it). 来源: https://stackoverflow.com/questions/19210791

Android Studio Emulator not loading Windows 10

走远了吗. 提交于 2019-12-03 06:24:39
I have a fresh install of android studio on Windows 10, with all the packages for android api 22. When I run the emulator I get the following message C:\Users\admin\AppData\Local\Android\sdk\tools\emulator.exe -avd foo -netspeed full -netdelay none emulator: device fd:928 HAX is working and emulator runs in fast virt mode I can see the emulator in the task manager, but it doesn't actually load. I've been looking for answers to why it doesn't load and I've made sure all the ram settings are correct, but I don't understand why the emulator won't load. Thanks HAXM, the Intel Android

6502 CPU Emulation

♀尐吖头ヾ 提交于 2019-12-03 05:12:00
问题 It's the weekend, so I relax from spending all week programming by writing a hobby project. I wrote the framework of a MOS 6502 CPU emulator yesterday, the registers, stack, memory and all the opcodes are implemented. (Link to source below) I can manually run a series of operations in the debugger I wrote, but I'd like to load a NES rom and just point the program counter at its instructions, I figured that this would be the fastest way to find flawed opcodes. I wrote a quick NES rom loader

How to remove the device's frame on Android Studio's emulators

本小妞迷上赌 提交于 2019-12-03 04:15:40
I am making an android app on Android Studio and I have this emulator for Nexus S. When the emulator is running, it shows the frame of the device. I want the emulator to show the screen of the device only. I've tried looking in the settings but can't help it. Thanks. Tiger98 Step 1 : Click on AVD Manager Step 2 : In the pop select the EDIT AVD Step 3 : Uncheck Device Frame Sept-1: Open ADV Manager Step-2: Click Edit in the specific Device emulator Step-3: Disable device frame option Step-4: Click Ok and restart the emulator 来源: https://stackoverflow.com/questions/32766821/how-to-remove-the

How to setup Fiddler and Genymotion?

跟風遠走 提交于 2019-12-03 03:53:04
问题 I just installed fiddler and I'm developing an app in Eclipse and I am using Genymotion to check if this app works or not. How do I setup fiddler correctly to work with Genymotion? 回答1: https://cloud.genymotion.com/page/faq/#android-proxy In your virtual device, Go to Android settings menu In Wireless & Networks section, select Wi-Fi Press and hold for 2 seconds WiredSSID network in the list Choose Modify Network Check Show advanced options Select Manual for Proxy settings menu entry Enter

Bluetooth Low Energy on Android Emulator

孤街醉人 提交于 2019-12-03 03:52:52
问题 I studied about Bluetooth Low Energy. But I don't have supported BLE device for testing. Therefore, I want to ask : Do the Android emulator supports BLE feature for testing? I tried with the following code on Android Emulator 4.3 (x86) and Android Emulator 4.4 (ARM) : // Use this check to determine whether BLE is supported on the device. Then // you can selectively disable BLE-related features. if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_BLUETOOTH_LE)) { Toast.makeText

PowerPC emulation: Qemu, PearPC, or… ?

旧街凉风 提交于 2019-12-03 03:16:30
I'm currently trying to build a configuration to test some code on Big-Endian systems. Through chats and research, i've been convinced that a good target for these tests would be the PowerPC architecture. Since i don't own one, and don't expect to get direct access to one anytime soon, i'm looking for some kind of emulation software to test my code. Problem is, i've found no "easy to use" solution in this area. It seems there are at least 2 possibles solutions, one using QEMU, and the other one using PearPC. None of them is really easy to deploy. The way i see it : I would like something as

Cordova android emulator stopped working

蓝咒 提交于 2019-12-03 03:15:35
问题 I'm building an app for Android using Cordova. The android emulator was working fine but I wasn't using it because I installed the Ripple emulator. I continued on building my app, but somewhere the emulator got corrupted. When I execute the following: cordova create test cordova platform add android cordova build cordova emulate Results in the following error: Error: An error occurred while emulating/deploying the android project. events.js:72 throw er; // Unhandled 'error' event ^ Error: