android-emulator

Android - writing apps for not-yet-released devices

I am looking to write an Android app for a device that has not been released to the market yet, and so I will not have the hardware to test upon. I have created an AVD (Android Virtual Device) with as much information as is currently available on the web, so assume that this is as like the device as is possible to get. However, does an...

Maximum Size of the SD Card on an Android 2.1 Emulator

What is the maximum size of the SD Card on an Android Emulator running Android 2.1 ? What is the maximum size one can specify? ...

android emulator and local site

Hi I've started android emulator app and trying to open from embeded browser locally started web-site, but local dns name (from /etc/hosts) is not resolved. Is there any option to enable local resolving? ...

"SQLiteDatabase created and never closed" problem.

Hi, I have the same problem as in http://stackoverflow.com/questions/2280345/sqlite-database-leak-found-exception-in-android - I get "SQLiteDatabase created and never closed" although I close all my databases and cursors. But I am new to java, can someone please help me implement the solution in my context? since I am not using my own p...

writing to /system/framework in emulator

Hi, I'm in the process of extending monkey for software testing purposes, so I would like to replace the current monkey.jar which my own compiled monkey.jar in the emulator. The current monkey.jar is located at /system/framework/monkey.jar. When I try to run the following command: adb push monkey.jar /system/framework/monkey.jar i ...

Android Emulator - Trouble creating user accounts

Hi Folks, I need a user account or two in my Android Emulator so that I can test some texting/mailing function of my app. The trouble is that when I try to do this in the emulator: Settings --> Accounts & sync --> Add account --> (my_gmail_account/password) --> Next I get the message "Setup could not finish - Unable to open connection...

Using Android Emulator to emulate a phone with Droid spec

Hello. I am trying to use the android dev emualtor to create a virtual phone with the same spec as the droid. I am using the WVGA 854 profile, High deinsity (240) and scaling the emulator screen to 3.7 inch on launch. Problem is it seems to be emulating it like it has WVGA 854 resolution but with a medium or low density screen, as the...

android emulator ==> change heapSize ???

I am trying to change the heap size of the emulator, to make sure that my app doesn't run out of memory with 16 mb available? How can i change the heap size on the emulator? I run the emulator through Eclipe. ...

im unable record video in android emulator im getting proccess failed and how can i see recorded video in emulator this my code plz help me .

import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import android.app.Activity; import android.content.ContentResolver; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.media.MediaPlayer; import android.media.MediaRecorder; import android.n...

Connecting external GSM modem with android emulator?

Is it possible to connect the external GSM modem to the android emulator, so that the real RIL function can be observed? ...

how to add images to android emulator?

hello, any one guide me how to add some images to emulator image gallery? thanks in advance. ...

Running two instances of Android emulator

I have written some code in eclipse and I want to run it on two separate Android emulators. How do I do this when I click "Run"? I read online and it said I need to do AVD configuration. What is that and how do I do that? Thanks ...

Menu button not working on the emulator in a Maps Application

hi, when i am trying to run the example of Maps as in http://developer.android.com/resources/tutorials/views/hello-mapview.html , the menu button doesn't seem to work. I tried the default Maps app in the emulator and there it was working. Also i intend to add an item when a user presses that button , how can do it? ...

Entering both if AND else statement?

So I've got this code (updated for solution). @Override public View getView(int position, View convertView, ViewGroup parent) { ... final Direction d = directions.get(position); if (d != null) { TextView direction = (TextView) row.getTag(R.id.directionTextView); TextView departure...

Geo Fix command does not pass altitude

On Android 2.2 Emulator, the "geo fix" command seems not to be working properly. The emulator responds "OK", and onLocationChanged() is properly called in my program. However, the Location object seems not to be complete--it registers latitude and longitude just fine, but it does not contain an altitude reading (hasAltitude() returns f...

Getting streaming audio to play with MediaPlayer class on Android?

Hello I am currently new to android development I been working on the examples in the Dev Guide in the android website. I want to get a stream from a server I have to play in the emulator when I insert the url it doesn't seam to want to play. My question is there a way to get the emulator to play audio or is it all enabled also does Medi...

Stop on screen keyboard appearing for Android Emulator?

I am using the AVD manager in eclipse. Is there a setting that I can use to stop the on screen keyboard appearing when an input field has focus? I tried has hardware keyboard = true, but then the emulator doesn't seem to start at all :-S ...

How to get adb remount to work?

I'm attempting to remove certain files from the SD image mounted on the emulator. NDUNN-PC ~ $ adb devices List of devices attached emulator-5554 device NDUNN-PC ~ $ adb shell rm -f /sdcard/maps/* rm failed for -f, Read-only file system NDUNN-PC ~ $ adb remount remount succeeded NDUNN-PC ~ $ adb shell rm -f /sdcard/maps/* rm faile...

Android: UnknownHostException

I am using Android SDK 2.2, testing my application with the emulator. I want to send a HTTP Post. When I do I get a UnknownHostException. I have placed the required permissions <uses-permission android:name="android.permission.INTERNET" /> in the manifest.xml. Also I can open the browser on the emulator and navigate to the URL with no ...

Android emulator fails to start when using scale (Win7 x64)

My configuration is this: Windows 7 x64 Eclipse Helios x64 JDK x64 Android SDK r06 When I try to start an emulator from Eclipse (Android SDK setup application) with the scale parameter it just fails. Second Command Prompt screen (which I think is actually a Java app) shows some exception but it closes itself right after. This is very...