Tag: android-emulator

How to fix: “HAX is not working and emulator runs in emulation mode”

Question is I get “HAX is not working and emulator runs in emulation mode”, is this related to Intel x86 Emulator Accelerator (HAXM) installation and running avd with cpu set to CPU Intel Atom (x86)? And even though it feels like AVD runs faster after i installed HAXM, does this message indicates that AVD performance […]

Set ImageView width and height programmatically?

How can I set an ImageView‘s width and height programmatically?

Android emulator doesn't take keyboard input – SDK tools rev 20

I’ve upgraded the SDK tools to revision 20 (from 18) and since the upgrade, the emulator doesn’t seem to accept input from laptop’s keyboard. But only using the emulator’s own ‘soft’ keyboard (that appears when an input field is focused). I’ve tried reinstalling the SDK tools (and the whole SDK for that matter), uninstalled and […]

How to emulate GPS location in the Android Emulator?

I want to get longitude and latitude in Android emulator for testing. Can any one guide me how to achieve this? How do I set the location of the emulator to a test position?

How to connect to my http://localhost web server from Android Emulator in Eclipse

What can I do in Eclipse’s Android emulator to connect it to my localhost web server page at http://localhost or I’ve tried it, but the emulator still takes my request like a Google search for localhost or worse it says that it didn’t found the page while my web server is normally running.

How to build an APK file in Eclipse?

When I develop the project using Eclipse, the APK file goes on the emulator. But I want to upload my application to a real device. Is there a tool to build an APK file? What is the process? Or is it possible to pull the APK file from the emulator?

Failed to allocate memory: 8

From today, when I tried to run an app in NetBeans on a 2.3.3 Android platform, it shows me that: Failed to allocate memory: 8 This application has requested the Runtime to terminate it in an unusual way. Please contact the application’s support team for more information. and the Emulator doesn’t want to start. This […]

How do I rotate the Android emulator display?

This question already has an answer here: How do I change screen orientation in the Android emulator? 23 answers

The Android emulator is not starting, showing “invalid command-line parameter”

I made a simple “Hello World” program in Eclipse. I added nothing to a Java file and only added a text view in file main.xml as //main.xml file <?xml version=”1.0″ encoding=”utf-8″?> <LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:orientation=”vertical” android:layout_width=”fill_parent” android:layout_height=”fill_parent” > <TextView android:layout_width=”fill_parent” android:layout_height=”wrap_content” android:text=”Hello World” /> </LinearLayout> And now when I run my program it shows the following […]

Why is the Android emulator so slow? How can we speed up the Android emulator?

I have a 2.67 GHz Celeron processor, and 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android Emulator should start fairly quickly on such a machine, but for me it does not. I have followed all the instructions in setting up the IDE, SDKs, JDKs and such and have […]

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