emulation

Android Emulator Jenkins Plugin not working

那年仲夏 提交于 2019-11-30 03:12:38
I am trying to use the Jenkins Android Emulator with Cloudbees and I am often experiencing this kind of output: error: device offline $ /opt/android/android-sdk-linux/platform-tools/adb connect localhost:44194 $ /opt/android/android-sdk-linux/platform-tools/adb -s localhost:44194 shell getprop dev.bootcomplete error: device offline $ /opt/android/android-sdk-linux/platform-tools/adb connect localhost:44194 $ /opt/android/android-sdk-linux/platform-tools/adb -s localhost:44194 shell getprop dev.bootcomplete error: device offline $ /opt/android/android-sdk-linux/platform-tools/adb disconnect

Android: Redirect outgoing calls

十年热恋 提交于 2019-11-30 00:51:59
I'm trying to redirect outgoing calls to a different phone number on an Android device. So, I use a BroadcastReceiver "listening" for the NEW_OUTGOING_CALL intent, on his onReceive() method I use the setResultData() method to change the phone number. Like this: public void onReceive(Context arg0, Intent arg1) { setResultData("351978923221"); } In the emulator all goes well, but on my real device (a crappy ZTE X850 with Android 2.1 I believe) it doesn't if the calling Intent originates in an Activity wich is part of the same application. After the dialing screen appears, the phone terminates

GBZ80: What constitutes a “half-carry”?

馋奶兔 提交于 2019-11-30 00:26:31
The Game Boy Z80 CPU has a half-carry flag, and I can't seem to find much information about when to set/clear it. What I understand so far is that any 8-bit add, subtract, shift, or rotate operation (and maybe others?) set it to bit 4 of the result(?), and the DAA instruction sets/uses this somehow. What I'm not sure is how 16-bit instructions affect it and whether it's affected or not by the use of certain registers. It's the carry from bit 3 to bit 4, just like the normal carry flag records carry from bit 7. So, e.g. to get the half carry bit in an add: ((a&0xf) + (value&0xf))&0x10 Which

Detect when Android emulator is fully booted

泄露秘密 提交于 2019-11-29 23:55:07
I want to create a script where I start an emulator and after the system is fully booted, I want to install an .apk. How can I know when the emulator is fully booted so I can run the install command? Here http://developer.android.com/guide/developing/tools/adb.html it is said that adb wait-for-device install <app>.apk is not correct. So how can I achieve this? Is it possible? Is my only option to sleep for a few minutes until I can be sure that the emulator is started? adb shell getprop init.svc.bootanim This will tell you whether or not the boot animation is running. It's what we use on our

Intel HAXM on macOS high sierra (10.13)

删除回忆录丶 提交于 2019-11-29 23:50:54
Is there any way of using Android emulator on High Sierra (10.13)? When I run ./HAXM\ installation -u It says: HAXM silent installation only supports macOS from 10.8 to 10.12 ! Shaz The command line installation doesn't work and gives unsupported mac os version error, while the installation through IntelHAXM_6.2.1.mpkg works but kext is not loaded due to "Approved Kernel Extension Loading" changes , So you will need to allow the extensions from Intel and restart your mac, then launch the emulator like from inside Android Studio, To enable go to System Preferences > Security & Privacy as shown

Writing a graphical Z80 emulator in C or C++ [closed]

老子叫甜甜 提交于 2019-11-29 23:17:40
I want to take an interest in writing my own simple emulator for the Z80 processor. I have no experience with this type of programming. I am mostly fine with using C-based languages as they are the ones I know best. What do I need to accomplish this and what are some good tutorials/references that could aid me in this project? I would also like a tutorial for coding a ROM-dumping application for my TI-84 Plus calculator so I can use its ROM with this emulator. Perhaps start by looking at these: A good tutorial can be found here: Independent Z80 Assembly Guide Z80 DOCUMENTATION The Undocumented

Android Studio 64-bit ERROR: 32-bit Linux Android emulator binaries are DEPRECATED

心不动则不痛 提交于 2019-11-29 22:17:36
问题 I recently upgraded my ubuntu 13.10 64-bit to 14.04 64-bit. Android Studio always worked well on 13.10. On 14.04 I had a problem with gradle (this one), which was a problem with missing libz.so.1. Following this link, I had to install the 32-bit version of this package, and it fixed my problem. Now (I thought it was related), when trying to launch a device emulator, I have this message : ERROR: 32-bit Linux Android emulator binaries are DEPRECATED, to use them you will have to do at least one

I cannot use camera in genymotion emulator

浪尽此生 提交于 2019-11-29 21:19:56
I am using genymotion emulator http://www.genymotion.com/ but when I opened the camera , I got message "cannot connect to the camera " , what is the problem ? Juan - devtopia.coop UPDATE Made it a community wiki in case someone else has something to add, I can't keep this updated right now :) It could just be that you didn't activate the camera for the emulator. Opposed to the stock emulators that once you set up the webcam they just work, on genymotion emulators you need to turn the cameras on . The process is very simple. On the emulator window, press ctrl + 3 or ⌘ + 3 to bring the camera

OpenGL vs OpenGL ES 2.0 - Can an OpenGL Application Be Easily Ported?

谁说胖子不能爱 提交于 2019-11-29 20:46:09
I am working on a gaming framework of sorts, and am a newcomer to OpenGL. Most books seem to not give a terribly clear answer to this question, and I want to develop on my desktop using OpenGL, but execute the code in an OpenGL ES 2.0 environment. My question is twofold then: If I target my framework for OpenGL on the desktop, will it just run without modification in an OpenGL ES 2.0 environment? If not, then is there a good emulator out there, PC or Mac; is there a script that I can run that will convert my OpenGL code into OpenGL ES code, or flag things that won't work? Ivan Vučica It's been

Intel X86 emulator accelerator (HAXM installer) VT/NX not enabled

穿精又带淫゛_ 提交于 2019-11-29 20:22:24
I`m asking how to enable my VT/NX for my MacBook, when I try to use X86 emulator, it appears to me that VT/NX NOT ENABLED, it had never seem this when I used 10.9 system, after I update my MacBook to Yosemite, it appears to me. When I try to start my x86 emulator, it tells me: Starting emulator for AVD 'X86' emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAX is not installed on this machine (/dev/HAX is missing). But the AVD shows me that I had installed HAXM. When I try to install by