android-emulator

log4j support in Android

I am attempting to shoehorn an existing SDK onto an android device and one of the dependencies of said SDK is Apache log4j. I am able to load my test program onto the android emulator but when the log4j object "PropertySetter" is called the program fails with a verification exception. Is there a way to ameliorate this issue? ...

[Android] There is no Calendar in the Emulator.

I am building an application that accesses the Facebook account and gets the events then add them to Android Calendar. There is no calendar in the emulator. We tried to setup the Calendar.apk but it did not work. Any idea? I want to add events to the calendar through code directly. Is it possible or I have to add them to the online g...

4096 MiB SD card in Android Emulator... less than 9MB?

Every time I attempt to create a new AVD with the latest Android SDK (under Eclipse), I can't actually specify SD Card Sizes greater than 1024 MiB. Any attempt to specify higher numbers gets me always the same message: "SD Card Size must be at least 9MB" What gives? Any idea why this could be happening? ...

Should I worry about DDMS console log messages "Can't bind to local nnnn for debugger"?

I'm new to Android programming (and Eclipse IDE and Android emulator). I've got Hello World and some of Notepad working, but I'm still constantly getting quite a few DDMS console log messages (shown below) about not being able to bind locals for debugger. Is this a problem? Can I get rid of these messages somehow? [2010-05-29 21:03:1...

2 fundamental questions for the Androgurus ...Can someone guide me

I have'nt plunged into Android Development as yet though Java Classes C++ all that is not new to me. Here are the questions folks. Appreciated any help on these : - If I need to develop test and deploy Android Apps do I NEED AN ANDROID Hardware device or is there a software Android Simulator like VMWARE or Virtual PC , where I can emu...

Use the camera on the emulator

Hi, i'm working on an application that needs to capture images with the camera and work on them. Since I no longer have a real android phone to test it I wonder if there is a way to give an image to the emulator (that, obviously, just cannot take a photo and shows only a "chess" background) to make it think that the image is something ca...

submit html form programmatically in android

I want to submit form programatically in android. I don't want any user interaction with web browser. User will provide inputs in EditField and then inputs will be submitted thru httppost method via HTTPwebmethod. But I didn't get any success in the same. Please advise. I have used HTMLUnit in java but its not working android. final W...

Stepping through KML Files with DDMS

Successfully loaded a KML file into the DDMS Emulator Tab, which shows up as a series of Latitude and Longitude coordinates in the Location Controls window. Is there a way to step through each Placemark, vs. having the entire series play automatically? There are forward and back buttons on the Location Controls window, but no documentati...

unable to connect emulator with internet

hi I am using Android 2.2 . I am unable to connect my emulator to internet . When I open my web browser in the emulator it shows the message "Web Page not available" . I have set proxy settings in the emulator (settings -> Wireless & Networks ->Mobile Networks -> Access Point Names). Also , I set proxy settings in eclipse (Windows-> Pr...

Configure ambient media player source code in my eclipse?

Hi Im trying to see working of ambient media player. I checkout from url https://ambientmp.svn.sourceforge.net/svnroot/ambientmp/Ambient/trunk to my eclipse work space. when build the app it is showing errors as Unbound classpath variable: 'M2_REPO/hotsax/hotsax/0.1/hotsax-0.1.jar' in project 'ambient' Unbound classpath variable: 'M...

Android Emulator Has Chinese Characters

Hi I recently started using eclipse and an AVD emulator to develop android apps for a droid. Everything is going fine, except when i type in the emulator it returns chinese characters. My location is set to en-us, so not sure what is going on. Any thoughts? ...

AVD properties for Motorola Flipout?

I'm looking to create AVDs to test my apps on, and i'm trying to figure out the correct settings for a square screen such as the new Motorola Flip Out. I don't see a wikipedia article for it, or many specs... On a related note, what about tablets? Actually.. Why aren't there a set of AVD instances with params from popular devices.. or ...

Do we need to launch the virtual device from eclipse every time we want to test our code?

If yes, then is there any other method to make it a bit faster? ...

Can we use preferences accress multiple different acvtivities in android?

I save preferences in one activities but not able to get saved preferences in other activity. I can access saved preferences in the same activity but not in other one. It is not giving me any error but always gibing null values in second activity. Below is the code: First Activity: public static final String PREFS_NAME = "MyP...

How can I run an app's source code that I got from the Android source code?

For all of you android devs out there that have the Android simulator running on your comp, you know that there are a few built in apps that are already installed on your 'phone'. I had an idea for an app that would utilize a function that is already being done in the spare parts app that comes already installed. I went on to the andro...

Emulator TCP Packet Size

Has anyone tried to do a tcp client server app using the emulator using the pc as a server and the phone as the client? I've got a bit of an issue where its only sending one packet, ie 1491 bytes of data regardless of how much there actually is to send, from the client(Phone) to the server(PC) Thanks James ...

Problem running apps fullscreen in emulator

I've created a device targeting 2.1 and having a screen screen size of 480x800 (WVGA). Some apps, including the one I'm currently writing, as well as the ApiDemos example, won't run fullscreen. I've uploaded a screenshot here: http://img248.imageshack.us/img248/503/emulator.png What could cause something like this? If I run these apps o...

Problems when handling orientation changes

Hi all, I need to handle orientation changes in my Android application. For this purpose I decided to use OrientationEventListener convenience class. But his callback method is given somewhat strange behavior. My application starts in the portrait mode and then eventually switches to the lanscape one. I have some custom code executin...

Android design issue

I'm facing a problem regarding to design issue, to understand problem i uploaded a screen shot i checked in emulator, it works well but when i try the same application in HTC Sprint mobile which screen size is 4.3" and resolution is 480*800(HVGA) but there did not display appropriate (check attachment for screen shot). ...

Not able to run emulator.exe

Hello, I am trying to run the sms app and I need two instances of emulator on same machine. Eclipse is up and running however, the android-sdk-windows>tools>emulator.exe does not run at all. can anyone help me on this , it is urgent. asap. Thanks in advance. ...