Tag: android-emulator

How do I access the camera on Android phones?

I’ve written a program in Java that takes in an image file and manipulates the image. Now I’m trying to access the camera so that I can take the photo and give it to the image processing program however I’m lost as to how to do this. I’ve read the information about the camera class […]

(How) Can an android virtual device use the local computer's internet?

I have a server running on the network my computer is on. Is there a way to allow the virtual device to use this same network and access the server? The virtual device won’t let me toggle the wifi (probably because it doesn’t have one). The only options I see that look right are: “Wireless […]

MediaPlayer no longer working on the emulator since r10?

protected MediaPlayer _mediaPlayer; protected void playFromResource(int resId) { if (_mediaPlayer != null) { _mediaPlayer.stop(); _mediaPlayer.release(); } _mediaPlayer = MediaPlayer.create(this, resId); _mediaPlayer.start(); } This code used to work fine on both the emulator and on devices. Since some time (I think it is since I updated to ADT r10) it only works on devices. On the […]

Why suddenly I got the error “Unable to resolve target 'android-9' ”?

I am developing android application (android-2.1-updated) under Ubuntu 10.04, with Eclipse IDE. I have successfully set up my working environment couple of weeks ago, and developing well (I can run my app on the connected device). But this morning, after I run ubuntu updates, then I restart my PC, then I start my eclipse, the […]

Android N Preview emulator crash

I am getting this crash on the new Android N preview emulator, right on the start. qemu: fatal: goldfish_tty_read: Bad offset 20 RAX=0000000000000009 RBX=0000000000000000 RCX=0000000000000000 RDX=0000000000000000 RSI=ffffffff817b6c7f RDI=ffff88005c3eb0c0 RBP=ffff88005e471bf8 RSP=ffff88005e471bb8 R8 =ffff88005c6a87f4 R9 =00000000ffffffff R10=ffff88005c3eb000 R11=0000000000000001 R12=ffffc9000003e000 R13=ffff88005e750810 R14=ffff88005c3eb000 R15=0000000000000000 RIP=ffffffff8127a837 RFL=00010246 [—Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 0000000000000000 ffffffff 00000000 CS =0010 […]

How to register this tablet to Ubuntu udev list?

I’ve got a cheap android tablet and I need to use it to test apps on it. I am using Ubuntu so I first have to add the device to udev list. I connected the tablet, but adb does not see it $ adb devices List of devices attached $ The I tried using lsusb, […]

Android Emulator has no window frame

I’m new to android developing and have an issue with android emulator, it has no window frame! I can’t move it over my screen or move to second monitor, it is freaking me out! I tried to google it out, but found no solution, can anyone tell me how can I fix that?

Android Emulator Error Message: “PANIC: Missing emulator engine program for 'x86' CPUS.”

I am trying to run a Android Emulator by using AVD Manager. this is my avd: http://image-upload.de/image/fnx79V/52b0d050ee.png and this is what happens by starting: http://image-upload.de/image/vGpQfa/e912d83939.png I have a Macbook Pro Retina. Installed the Haxm driver direct from intel page. No emulator is working. All get the same “error” message. Running Command (This error was when […]

emulator-x86.exe has stopped working

I am getting these error at console. hax is not working and emulator runs in emulation mode eclipse. So I am unable to run the app in emulator.

Cannot launch AVD in emulator Android Studio

Problem with emulator in android studio 2… Cannot launch AVD in emulator Output: libGL error: failed to load driver: nouveau libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast X Error of failed request: GLXBadContext Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 6 (X_GLXIsDirect) Serial […]

Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.