android-emulator

How can I change the virtual router address space from 10.0.2/24 to something else?

Is there a way to change the address space managed by the virtual router from 10.0.2/24 to some other subnet, for example 192.168.129/24, to avoid conflicts with my office subnet. The specific problem I am having is that upnp servers are not discovered from the emulator. The local network here is 10.0.2/23 and the only upnp servers that...

Why the Android Emulator doesn't get the timezone from the OS automatically?

Just wondering if, while launching the Android emulator via Eclipse, am I supposed to add the "-timezone " parameters to each Eclipse "Run" task I create? Is it a bug or a feature that the emulator doesn't get from the OS (Windows 7 in my case) what timezone I'm in? As a side/alternate question, is there a way to configure in Eclipse 3...

Android emulator with 2.2 AVD continuously generates skia logs

Typically after some network operation my android emulator starts emitting following logs continuously. It's making difficult to see logs of other programs in logcat. what could be issue. I'm performing some network operation in my application using AndroidHttpClient. But my program does not do anything related to image download. What...

Set a default location when launching the android sdk

I'm working on an android application which uses the GPS location to predict Sun rise / set (amoung other things). Getting this right requires both timezone and location to be set. The timezone is easy, and can be set inside the emulator, but is there a way to set the default start location when an emulator starts up? Having to manual...

Android : Sorry Application Keyboard in Process (Force Quit / Wait)

Hi all, When a try to deploy my android App in the emulator, after the application(.apk) gets loaded in to the emulator, when i tap on the menu button in emulator for loading my application's initial screen, its is raising me a alert message with this information, <pre>Sorry Application Keyboard in Process (Force Quit / Wait)..</pre> ...

Cannot select my Android client in DDMS perspective of eclipse

I want to check my program code for time consuming operations. I thought DDMS is the best tool to achieve that. However, I cant see Threads, Heaps and so on. It tells my to select a client. But I dont know where other than the Devices Tab, which doesnt take effect. What do I have to do? Is there maybe smth wrong with my ADB setup (But ...

My android application isn't showing on main list of application. What I have to do?

I'm beginner of Android. I want to run my first application on emulator. I use eclipse. I don't know what's happen. I installed my apk. I "register" my acitivity in manifest file, but I can't see it in list of application. When I open manage application setting it's written that my apk is installed. I searched about it everywhere. Eve...

AVD (emulator) won't start on Linux

Running Ubuntu Lucid, 32-bit. Eclipse Galileo with Android SDK Tools installed. After setting up an Android Virtual Device in the Android SDK and AVD Manager: Name Target Name Platform API Level TestDevice Android 2.2 2.2 8 ...clicking the Start... button does nothing--no errors anywhere, no sounds, no wi...

Why can't I run the android emulator??

I have installed everything like I was told to by the android website and all I keep getting after I create my avd is "Failed to start emulator: Cannot run program "/home/christopher/Desktop/android-sdk-linux_86//tools/emulator": java.io.IOException: error=2, No such file or directory". Anybody got any ideas??? I'm running linux if that ...

How to compile and run a C/C++ program on the Android system (like MinGW on the Windows)?

I want to compile and run the C/C++ program on the Android phone program (like G1). For example, I write a "Hello World.c" program, then compile and run it on my Android phone system. I have never used MinGW to run my code on my Windows system, so I also want to do it on the Android phone system. ...

running android app in eclipse

I am new in Android. I have downloaded the Ecllipse 3.4 and Integrate with ADT and Android SDK r06. But Problem is that My Simulator is not working, It opens Properly but screen Shows only "ANDROID.." What should i do. please help. ...

iptables utility on andrid sdk emulator avd

I am trying to learn android os. My aim is to learn security part. I am trying to find iptables utility in file system hierarchy. Do you know where is it? Also there is no too like find or "ls -laR" or grep. I am using anroid sdk and emulator avd with android os 2.2 API8 ...

finding files on android os

There is no utilites like find, grep , "ls -laR" to find files in Android os. IS there a way or is there a list of current default files in the os file system hierarchy? ...

Playng video file present in Local File System in Android.

How to play video present in local file system (ex:in res/a.3gp) using VideoView . I need Sample code. I am trying to play as below: import android.app.Activity; import android.os.Bundle; import android.widget.MediaController; import android.widget.VideoView; public class videoSample extends Activity { /** Called when the activi...

urgent help on single instance of an activity in android

I have two activities. A and B. A starts B. Both are running in the screen and both are visible. Say now B is visible. On a special key press, I want to bring the A to the front and make it active. The problem I am facing is when the special key is pressed, another instance of A is launched and the new instance is brought to the front. ...

Performance of app on Android Phone Emulator vs Actual Device ?

I am working on a compute intensive app for Android. I do not have any device yet to test performance. However, the performance on emulator is a bit slower than expected. I see an old question about some estimation of emulator vs device. What are your experiences while developing apps with recent SDK Froyo/2.2. Is performance observed o...

How to browse android emulator SD on Windows without Eclipse?

Hi all. Can't understand how to browse android emulator sd card. I am using IDEA, not Eclipse and can't use Eclipse tool for this purpose. ...

sending email with attached pictures in android (solution)

the image is stored in android sd card I got the solution we need to specify in manifest and the working code is String _path = Environment.getExternalStorageDirectory() + "/mapp/test.jpeg"; File file = new File( _path ); Uri outputFil...

Missing Accounts in Android Emulator

I've an app that uses Android accounts - GoogleLoginService on (< 2.1) and AccountManager on 2.1 or greater. the app works fine on phones, but doesn't work on any of the emulators. When I try adding accounts in emulator, it fails. In 1.6, option doesn't even exist. Is there a workaround? I heard that there is a custom system.img that h...

Android emulator sound - ubuntu

Using Ubuntu 10.04 64 bits for Android development and everything goes well except sound. I've using -audio option and -audio-out one with alsa as backend parameter, but without luck. ¿Any idea? ...