android-emulator

Problem in executing the code for hello views twice in emulator

Hi I am using eclipse and android sdk 2.0.1. I created a simple project containing a textbox and a button. It ran successfully on emulator when executed for the first time. But when the same code executed second time, there was no output jz the screen containing the clock. Is there some setting that i am missing? Thanks in advance. ...

Debugging Android Widget Code In Eclipse

I am starting with Android programming with the help of Unlocking Android / Manning which came from Santa and is a pretty good book. After running a few little tests and examples, I'm moving towards developing the concepts for my own application. I want my App to execute as a Home Widget and I'm using this example as my model to get sta...

Android can't write to file

I am working on the Android SDK on Eclipse. Whenever I look at the SDcard after running this code (either before or after closing the emulator) the file exists but its contents are empty. I have tried reading the contents after writing them, with a BufferedReader, and they are indeed there, but vanish when I open the file. File file = ...

Different accented characters available to keyboard vs. Latin IME?

In the Android emulator, a long keypress on the "keyboard" will pop up a selection of variants on that letter to choose from. A long keypress on the same key in the soft keyboard displayed on the device itself (still in the emulator here) will also pop up a selection of variants on that letter to choose from. But the two lists are diff...

Navigator : INTERNET access problem

Although I meet no pb when setting the "android.permission.INTERNET" permission in Android applications, I do not manage to perform any HTTP GET from the Navigator of the Emulator, e.g. when requesting: www.google.com (same pb with IP@ 74.125.39.106) Any idea ? Is this maybe an SDK limitation ? If so, would anybody know a workarround ? ...

HTC Nexus emulator

Is there an emulator for the Nexus ? i want to test some of my android apps on it. ...

how to connect android emulator to the internet

hi folks, basic question but i haven't been able to figure it out: how to I connect my android emulator to the internet, e.g. to use the browser? I've found lots of advice on what do to when your connected through a proxy, but that's not the case here, my machine (win7) is directly connected to the router... thanks for your help, ma...

AlarmManager and the PendingIntent that failed

In order to learn how to use the AlarmManager I created an activity that consists of a single button. When the button is pressed the activity creates an Intent of itself and loads it into the AlarmManager 3 seconds in the future before finishing. So activity opens, user pushes button, activity closes, 3 seconds later activity opens, rep...

Why not standard Android emulators?

I'm new to Android, but have published iphone and bberry apps. I see that I have to create an emulator using the SDK, before I can write and test an app. Why are there no default emulators? Why not at least a Nexus one, or HTC hero emulator shipped with the product? Sure its supposed to be flexible, but why not make it easy to create...

How to take emulator screen shots using Eclipse?

I need to take screen shots of an android application running on an emulator in Eclipse Galileo. Is there a built in feature for this or do I have to download a plugin of some sorts? ...

Android SDK Error Upon Creating Emulator

I am running into a problem creating an android emulator from the command line. When I run the android command the messages below output. Starting Android SDK and AVD Manager SWT folder 'lib\x86_64' does not exist Please set ANDROID_SWT to point to the folder containing swt.jar for platform I've already: Execute SDK ...

Android Multitouch - Possible to test in emulator?

Hey everyone, I recently discovered that the Android 2.0 SDK supports multitouch through new functions in the MotionEvent class. You can specify a pointer index when retrieving touch properties, and in cases where multiple fingers are on the screen there should be multiple pointers provided. Unfortunately, I only have a G1 to test on a...

Can you repeatedly deploy an APK with 'adb install' without uninstalling first?

Since I'm really not a fan of Eclipse I'm developing my Android app by following the rules listed here: http://developer.android.com/guide/developing/other-ide.html When I'm deploying with the 'adb install' command I have to manually uninstall the APK from the emulator every time or else the install won't work. Is there any way to bypa...

Android Emulator sdcard push error: Read-only file system

I am developing under Android 1.6 (Android SDK 2.1). I create a avd by using avd manager in Eclipse. When I lanuch this avd, I found that the /sdcard directory's permisson is "d---------". So I can't push file to the sdcard. Does anyone konw how to solve this problem? ...

Simulation of GPS on Android Emulator Device?

Hello, I saw in android documentation that there is a NMEA file in the android server of the emulated device at the location: /data/misc/<provider: like gps>/file.nmea I can't see it. Can anyone help please merci ...

Android Application Crashel

hello everyone, i am trying to run an application on an android emulator, but it crashes. i am following a howto i don't know what to do, it just crashes. other applications are running fine, can anyone tell me what i am doing wrong.here is the code: public class Finder extends Activity { /** Called when the activity is first creat...

"Keyboard not responding" in emulator?

I'm using Android 2.1 SDK on MacOS 10.6.2. When I try to run the standard Notepad app in the emulator, I get the expected messages from Eclipse [2010-01-18 17:42:24 - NotesList]New emulator found: emulator-5554 [2010-01-18 17:42:24 - NotesList]Waiting for HOME ('android.process.acore') to be launched... [2010-01-18 17:42:26 - Emulator...

Marking Current Location on Map, Android

Hi every one, i followed some tutorials to create an application that shows the current position of the user on the map with a marking. but for some reasons i can't get to work the marking part? the other parts works well, but whenever i add the marking code the application crashes. i hope someone could help me.here is the code: public...

Android calender application not seen in the emulator.

Hello all, Android source code contains code for calender application perhaps it not seen in the emulator. what is the work around to be done to view the calender application. I went through the source code, core.mk file doesn have a tag for calender as well as calender provider. What can i do so as to include calender application...

GPS simulating on android emulated device

Hello, how can i simulate GPS on an android device in the emulator. I read somewhere that i should use the nmea file wich is in /data/misc/location/gps I have not the .../location/... directory. I tested on platforms android 1.5, 1.6, 2.0, 2.1 but nada ! Please help ! ...