android-emulator

Is there an easy way to setup the android emulator to access the LAN of the host machine ?

I would like to access a web service provided by one of the machines on my LAN from the android emulator. If the service was running on the same machine where the emulator is running (called host), I could add a network redirection and access the 10.0.2.2 (host loopback interface in the emulator) with the correct port. However it is ru...

AudioRecord problems with non-HTC devices

I'm having troubles using AudioRecord. An example using some of the code derived from the splmeter project: private static final int FREQUENCY = 8000; private static final int CHANNEL = AudioFormat.CHANNEL_CONFIGURATION_MONO; private static final int ENCODING = AudioFormat.ENCODING_PCM_16BIT; private int BUFFSIZE = 50; private AudioRec...

I want Source Code for CallLog

I want to incorporate the CallLog feature in my Android project means I want to track Incoming, Missed and Received Calls and their details like Time and Duration of the call.......So kindly If any one has.....help me with the Code in android............. I also found the built in application named PHONE in the emulator, but don't know ...

How to check if vibration happened, in logcat?

I searched in the web but i couldn find a single article dealing in a straight forward way on how to find the vibrate on/off logs in logcat. If anybody who is aware of the procedure, please enlighten me. Once again i need it specifically to check if my app triggers vibrator or not... ...

emulator crashes

I am setting up an Android environment for the first time on Eclipse. I have many years of Eclipse experience, but new to Android. This is being done on an Apple Mac Mini, running MacOSX 10.6.3. I am using the latest Eclipse Classic, version 3.5.2. I am trying to get the tiny hello world program running. When I run it, I get the followi...

Application runs on eclipse emulator, but not others

I'm new to android app development but I've successfully created my first real application in eclipse. It runs perfectly in the eclipse emulator so I compiled it and tried to install it on another emulator. It installs successfully, but won't run at all. I'm not even sure how to begin finding the error since everything works so well in e...

Android application doesn't start from Eclipse

Before u start: I searched the google and stackoverflow, none of them gave clear answer. Situation: I'm using Eclipse on Windows to develop Android application. So when I'm trying to run the app, the system outputs to console [2010-06-14 17:04:39 - HelloLinearLayout] ------------------------------ [2010-06-14 17:04:39 - HelloLinearLayo...

Emulate disk IO speeds in Android SDK

I don't have a physical Android device to work with, so all I can use is the emulator. I'm wondering if there's something I could use to make the IO speeds more realistic - How do I slow down disk access to the speed it would be on a physical device? Also, this may be unrelated, but when I change the speed and latency options in Eclipse...

Android app works on emulator but not on phone ("Can't dispatch DDM chunk XXXX: no handler defined")

Hey all, I made a very simple application to start playing around with Android development. It works fine on the emulator, but it gives me the following error when I try to install it on my HTC Hero (v1.5): Sorry! The application Simple Dial (process com.foo.simpledial) has stopped unexpectedly. Please try again. (Force Close button)...

how to Set already running activity, when user clicks on app icon on home screen

I have Two activities One splash screen, Player screen. When user clicks on my app icon first splash screen is displayed and then player screen When player activity is running, if user returns to the home screen and then again clicks on app icon, the application is starting from the splash screen again. can any one please help me ou...

Waiting for HOME ('android.process.acore') to be launched...

Hi I tried working the Hello world application and the emulator freezes after it flases Android start screen. The home page is not shown. The last display on the console is Waiting for HOME ('android.process.acore') to be launched... I tried reinstalling eclipse and android again. It still did not work. Also the console does not show...

How to resize image from Uri?

Hi im retrieving image from URI and displaying in Imageview. I need to re-size image from URI to fit size of the Imageview. Pls help me how i can do this. Thanks ...

problem with android emulator for voice recognition

I use the android 2.2 sdk (under windows vista) and I tried to get audio from the microphone using (plug on my computer). I try example from this tutorial http://www.benmccann.com/dev-blog/android-audio-recording-tutorial/ but each time my application is stopped by android emulator. Can we use AudioRecord with microphone in the emulato...

How to start programming simple applications ?

i'm beginner, i've installed android sdk n eclipse also... i've written code for temperature conversion i.e from Fahrenheit to Celsius but when i run on emulator the calculation part is not working i.e no error in code part n i think its not accepting the input values.... please help me ...

Listing the contents of a SD card in Android Emulator

I want to list the contents of a SD card of an Android Emulator in a file browsing dialog window, like it happens in Windows. Is there any way to do it? Like any specific class, method or feature? The basic plan is that the user should click on the browse button and a dialog window or another screen should appear, listing the entire cont...

How do I get rid of the Chinese and Japanese characters on my AVD 2.1/2.2 Keyboard?

Can anyone tell me how to change the Language & Keyboard start-up settings? ...

android:listview focus on first item

hi, i have custom list with one image as fill parent for relative layout. on top of image i have text view and another image. i have set the selector file for list item . problem is when my application launches it is not showing focus on first item ,which is requirement. i have tried these things . please guide me more as they are not wo...

gsm call / sms send doesn't work from emulator/ddms perspective

hi all, i have problems simulating call or sms since telnet or ddms perspective on eclipse. I'm connected to the device and some commands works (window scale,...) If i try to simulate a gsm call then everything seems ok but i haven't anything on my emulator (nor incoming call nor notification) then if i launch an "gsm list" command my i...

INSTALL_FAILED_MISSING_SHARED_LIBRARY error in Android 2.2 API Level 8

heya, maybe somebody can help me out. i'm trying to add a google maps within my android app. if i want to run my app in emulator, i get the error: "Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY". of course i read about what my problem, the reason seems to be that the target device doesn't have the needed libs, but i'm not ab...

Android emulator hanging on startup?

Hey everyone, I've been modifying/editing parts of the Android platform, but have run into a problem when trying to test my edits. After making my changes to the platform source, I was able to successfully compile the source - thus creating system.img, ramdisk.img, and userdata.img. When I go to test this in the emulator, the emulat...