emulator

ADB rejected shell command (ls -l /data)

I keep getting ADB rejected shell command (ls -l /data): and the command prompt when running adb shell tells me error: device not found although the emulator is open. What I am doing wrong? ...

How to attach back the Android emulator to ADB?

After I start the emulator by hitting Debug in Eclipse, after certain time it disconnects from the ADB, but the emulator stays open. It is responsive, I can navigate and start apps. How can I attach back the emulator to ADB, to be able to debug from Eclipse? (the current workaround is the terminate the emulator, close Eclipse and resta...

Android: AVD manager won't detect my HTC Hero phone as Virtual Device

I need to use my phone as emulator/target/virtual device when I run my application. I have installed HTC Sync and the USB driver is in order. I have enabled the USB Debugging in Settings. What more do I need to do to make Eclipse AVD Manager to detect my phone? I made it work on anohher coumputer, following the exact same steps I have d...

android emulator copy files in system partition

I need to copy files to the system partition of the emulator. As it is read only by default, I use the command "adb remount" to have write permissions and I can then copy the files. My problem is that when I close the emulator and that I restart it, the copied files were missing. It's very annoying because I must write file permissions t...

How to increase storage for Android Emulator? (INSTALL_FAILED_INSUFFICIENT_STORAGE)

I get this sometimes(not often) for one of my projects, couple of classes only Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE How do I increase emulator's storage? ...

how to get mysql database connection in android emulator

How to get the MySQL database connection in android emulator? I try to connect using java.sql.* package like this I get the exception: java.sql.SQLException:no suitable drive How can I use sql packages in android mobile? ...

Android Application Development O'reilly MJAnddroid Example Code

Good Afternoon... I recently bought the book "Android Application Development" from O'reilly and I'm at a section where it asked me to download MJAndroid Code and import into Eclipse... Here is the link http://examples.oreilly.com/9780596521509/ I was able to downloaded / import it but now I'm stuck... Here is what it saids... "You...

Minimal standalone install of Microsoft Device Emulator

I have installed the Microsoft Device Emulator 3.0 and the Windows Mobile 6.5 DTK on a clean Windows 7 system. From the Start menu, I can start an emulator. However, the Device Emulator Manager does not show any of the emulators, so it is impossible to Connect and Cradle the emulator. How can I install apps to the emulator using the Wi...

Windows Mobile - open file in emulator

I am writing a C++ application for Windows Mobile and cannot find any solution to my problem. In my application I want to open a WAV file. There are 2 problems for me: what function shall I use to open and close a file? Is fopen sufficient? where shall I put the WAV file on my PC's harddrive to open it from the emulator? And what direc...

Android: Location.distanceBetween units and emulator not sending coordinates properly

Hy everyone, I have two questions 1) I have not been able to find out in which units Location.distanceBetween receivs the latitude and longitude. Is it degrees or microdegrees? Whats the unit for the distance returned? Sorry for this noob questions but I have not been able to find anything on the documentation. 2) In windows XP using E...

Android emulator: disconnect GPS device from provider

I am developing a GPS enabled application on Android. There is no problem with the map display, but I want to test how my code would react to the situation in which the user enters a room, basement or a cave, so that the device would stop receiving any signal. My question is whether I can simulate this programatically or by using the DDM...

network simulator

I need to build a device emulator which can communicate over real IP address I need to create as many instances I can for the device. With one IP and MAC address for each emulator instance Can can any one guide me how this can be achieved? ...

unlock android emulator from cmd line

I would like to run android emulator from cmd line - unlock it and control it. Is this possible ? I know how to operate from eclipse? ...

emulator-5554 disconnected

Hi when i start my android emulator. it takes some times then will show the emulator-5554 disconnected message ...

After I remove the apk, whenever I start Debug it tells me the package is not installed

I have my Emulator open, and using Command Prompt I remove my application. I didn't closed the Emulator. Then I go to Eclipse and hit Debug, but doesn't deploy the apk to the emulator, just tells me the package not yet registered with the system. New package not yet registered with the system. Waiting 3 seconds before next attempt. Re...

How to add manually contacts group to Android database?

I want to define some Contact Groups. I am wondering where and how does Android store the groups. Maybe in a Sqlite database? If so, will be able to run a insert on it? Otherwise how do you add new Contacts Group via the emulator? ...

Android emulator screen too tall

I'm writing my first Android app for a small business that has some Droid phones. I set up an AVD for the phone with the right resolution: 854 pixels high. I'm working on a MacBook Pro with a max screen resolution 900 pixels high. So when the emulator starts up, the bottom is cut off. Is there a way to scale the emulator display down ...

Questions Regarding the Implementation of a Simple CPU Emulator

Background Information: Ultimately, I would like to write an emulator of a real machine such as the original Nintendo or Gameboy. However, I decided that I need to start somewhere much, much simpler. My computer science advisor/professor offered me the specifications for a very simple imaginary processor that he created to emulate first....

What is the difference between Android SDK 1.5 and 2.0 in terms of rendering?

I am nearly finished with the development of an Android application. But there seems to be a problem. When I started working on the project I used only the default 1.5 device resolution which is 320x480. But now when I am in the testing phase I started testing in 480x800 and 480x854 in both 1.5 and 2.0. These resolutions are not defined ...

How to access internet on emulator?Am working in a company..so i think i have some firewall to access..so pls help me in detail

** Am working in a company..so i think i have some firewall to access..so pls help me in detail ** ...