emulation

Programming a low-pass filter

[亡魂溺海] 提交于 2019-12-04 05:03:00
I have programmed a Sega Master System emulator in Java (although this question is not Java specific) and have finished everything except for the SN76489 sound chip. How this chip makes sound is easy enough - the problem I have is converting it to a form that is playable through a PC/laptop/whatever the JVM is running on. I have identified the steps as follows; As the SN76489 runs at a sample rate of roughly 221khz - this means the waves it outputs have a frequency of up to 110khz (although in practice I doubt anything ever goes this high). I need to therefore implement a low-pass filter

Add ringtones in android emulator

∥☆過路亽.° 提交于 2019-12-04 04:48:56
Does anyone know how to add/download a ringtone or an mp3 sound to an android emulator? bwoogie Go to DDMS in Eclipse , click the File Explorer tab and navigate to mnt/sdcard . Create a new folder by clicking the Plus icon called ringtones . Then click on the "Push a file on to the device" icon and choose your file. You may need to restart the emulator. Snm Maurya From Eclipse: Click on Window -> Open Perspective -> DDMS Note: First start the emulator, so its contents will be available under File Explorer Now click on the File Explorer tab and navigate to mnt/sdcard . If this directory already

AVD Crash on second monitor

流过昼夜 提交于 2019-12-04 04:33:47
I just installed Android Studio and was trying to get a preview of my application but whenever i start the AVD Emulator on whatever devices or API it crashes, but it only do crash when I swipe the window of the AVD to my second monitor. my computer configuration : i7-6700k, 16Gb RAM and a GTX 1060 the AVD configuration : Anyone had the same problem in the past or have a solution ? feel free to ask me for more info in case I didn't explained enough I had the same problem, and I found a solution that you can have the hardware acceleration still activated and move the AVD between monitors. Here's

Getting NoSuchMethodError exception on com.android.prefs.AndroidLocation.getAvdFolder() when trying to run “ionic cordova run --emulator”

纵然是瞬间 提交于 2019-12-04 04:27:35
问题 I just upgraded my cordova and ionic (npm upgrade -g cordova ionic) and now when I run "ionic cordova run --emulator" I'm getting the following error message: Exception in thread "main" java.lang.NoSuchMethodError: com.android.prefs.AndroidLocation.getAvdFolder()Ljava/lang/String; The build is successful, it just doesn't seem to want to start the emulator. Any help would be very appreciated. Here is the end of the log after the successful build message: BUILD SUCCESSFUL Total time: 5.135 secs

Windows phone 8.1 Emulator launching issue

自闭症网瘾萝莉.ら 提交于 2019-12-04 03:55:56
问题 While launching the sample application in windows phone 8.1 emulator I am getting this error. **Error 1 Error : DEP6100 : The following unexpected error occurred during boostrapping stage 'Connecting to the device': SmartDeviceException - App deployment failed. Please try again. AccelerometerCS.WindowsPhone Error 2 Error : DEP6200 : Boostrapping 'Emulator 8.1 WVGA 4 inch 512MB' failed. Device cannot be found. App deployment failed. Please try again. AccelerometerCS.WindowsPhone** Any possible

Android emulator crashes on Ubuntu 11.10

倾然丶 夕夏残阳落幕 提交于 2019-12-04 01:22:53
I installed the Android SDK on my Ubuntu 11.10 (32-bit) machine. I also installed Eclipse (3.7) and the associated plugins for Android development, all on openjdk6. Using eclipse, I successfully created an Android Virtual Device (using AVD Manager). However when I try to run this virtual device, through Eclipse OR using the "emulator" Android SDK executable, the emulated device shows up for a couple of seconds and then crashes with the following message: [xcb] Unknown sequence number while processing queue [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called

No phone emulator showing in device list in visual studio 2015 RTM

ぐ巨炮叔叔 提交于 2019-12-04 00:18:32
问题 So I would like to test some apps on windows phone 10, but there is no emulator to choose from in the device drop down. I clicked on the 'Download new emulators...' option in the dropdown, downloaded the package, and installed a 3.5GB windows phone 10 emulator but I'm not seeing where it went. I've restarted windows and opened up the test project in VS2015 CE. Still no emulator available. Anyone else have this problem? Any ideas? 回答1: You need to switch the platform in your Visual Studio from

Chrome Responsive Emulator - How to default zoom to 100%

匆匆过客 提交于 2019-12-03 23:43:49
One of the most annoying things I encounter on a daily basis is constantly having to reset the zoom of the chrome device emulator. For whatever reason, each time I change the device selection, the zoom changes from 100% to the "Fit to Window" size, which is always less than 100% and renders the page and text so tiny its unusable. I've seen the "Edit" menu under the device listing, and this is where I would expect to find the setting to always default the zoom to 100%, however, I'm not seeing it there. What am I missing? Giorgos Ploumakis I had this problem for a while. Go to the right top menu

how to connect two emulator instances on the same machine and transfer data(a file) between them?

折月煮酒 提交于 2019-12-03 21:48:23
Here it goes. There are two emulator instances say A and B on same machine that is connected to internet. Now I need to transfer a file between A and B. How do I do that ? I writing a ftp might make sense .. but am not sure of how the ports and ips would be. are there any thing that Android supports for easy file transfer ? (Should work between emulators) It would be great to know all the ways to do it.. Thanks How to communicate between two Android emulators is explained in http://developer.android.com/guide/developing/devices/emulator.html : Interconnecting Emulator Instances To allow one

JCWDE : Exception from install() method

左心房为你撑大大i 提交于 2019-12-03 21:44:57
I am working on JavaCard and I developed an applet with JCDE on Eclipse: import javacard.framework.APDU; import javacard.framework.Applet; import javacard.framework.ISO7816; import javacard.framework.ISOException; import javacard.framework.Util; import javacardx.framework.math.BigNumber; import javacard.security.CryptoException; import javacard.security.MessageDigest; public class SignatureGPS extends Applet { public static final byte CLA = (byte) 0xB0; public static final byte INS = (byte) 0x00; private BigNumber s; private BigNumber x; private MessageDigest h; private SignatureGPS() { s =