android-emulator

Remote debugging with Android emulator

Is it possible to write the code/compile Android application on one machine and debug it remotely on the emulator launched on another? I'm sick and tired of the emulator constantly eating half of my laptop's processor. ...

Android kernel compile and test with Android Emulator

Has anyone successfully compiled the android kernel and tested it in the Android emulator, and if so is there anything that special that needs to be done? Documentation for the SDK is excellent, however documentation for compiling the kernel and setting up a custom machine in the emulator has been hard for me to find. ...

Android - Having a hard time debuging Eclipse

I am a little bit new to developing for Android using Eclipse (Coming from a .NET/Visual Studio background). My biggest problem in developing Android app is "debugging" them. Every time the emulator throws an error, there is no message, no explanation of what caused the error. I basically have to keep doing trial/error until something w...

Trying to set up Android SDK - Please help! Beginner

So I am super new to this, and am not really sure what I am doing. I downloaded the Android SDK for Windows, but I am a little confused in setting it up/installing. So I read that I needed to set the System Variables Path to the tools/ but I it seems that I would be replacing the Windows\System32?!?! I should not be replacing this sho...

Android Videoview video not seen

Hi, I am using Videoview to playback mp4 file from local machine using android emulator. I hear the audio, but the screen is blank and no video is seen. Android SDK 2.0.1 Does anyone have an idea what is missing here: package com.hello; import android.app.Activity; import android.os.Bundle; import android.widget.Med...

How to set geographical coordinates on pictures for Google Android ?

Hi, I'm currently developping an application to manage my pictures on an Android phone. I developped an algorithm to classify the pictures based on the geographical coordinates (latitude, longitude) of each photo. To test my application on the android emulator in Eclipse, I manually imported a bunch of photos from my computer to the SD...

Unable to setImage in drawable?

hi folks.... When i load the image from the server in grid view and click any image to see the details 1 of my image is not displaying when i run the application but when i debug the application it is showing the correct results... Any help would be appreciated .... Thanks ...

How to speed up Android Emulation?

I'm trying to get started with Android development. I'm using eclipse on Linux and using a Pentium IV @3.2Gh with 1GB of ram. I've just followed the "hello android" howto, with just one sad result: the virtualization is too slow. It seems that launching the virtual machine has to be slow, and it will be slow even if I'll use a bett...

Android: difference in ACTION_SEND between api level 2 and 5?

I have an android app that wants to initiate an email. The following code works in an api level 5 emulator, but not on a level 2 emulator or device: Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Email from MyApp"); emailIntent.setType("text/plain"); email...

android emulator ui buttons from command line

I'd like to be able to access the emulator's ui buttons from the commandline or from a test script (e.g. the Back, Menu, or Home buttons.) Can this be done through the adb shell? Or does anyone know of a way to do this directly with OS X? ...

how to run android emulator with TTS enabled

i hope i am not posting a duplicate question, can anyone please tell me how to enable TTS in android emulator enabled when eclipse starts it when we run the project. is it that i have to start with SD card or sth like that?? Also for some reason when i go to my Run Configuration in eclipse i don't see any field to pass arguments for em...

Getting my app to work on my phone

Hello I wrote an app android sdk version 1.5 using it's built in emulator in eclipse. I created a database outside of eclipse populated it with data and push it to the emulator folder data/data/project name/database and could access it fine from the my app, everything was working great. My final step was to test the apk file on an actua...

Contacts created with Android emulator (2.0) not beign seen

I created contacts with the emulator for v 2.0. However, my i am unable to see these contacts. One of the Errors i get even before my code that executes the read contacts is; Cannot determine the default account for contacts compatibility See below for full stack: E/ContactsProvider( 109): Cannot determine the default account for con...

How do I clean up my android emulator of unwanted applications?

Hi I still have unwanted apps in my menu in the android emulator. The projects which have been deleted from the workspace are there on the emulator. How do I clean the emulator? ...

Android Hello Map View problems on the emulator

I'm trying to run the Android Hello Map View tutorial app on the Android emulator. The Google Map view displays, but the tiles are blank. Judging by the errors below (taken from LogCat) the app is unable to connect to the internet. The web browser on the emulator connects without problems. I've also double-checked the API key. I'm usin...

Reboot/Power Off Android Emulator

I installed new fonts on my Android emulator. The instructions say I have to reboot my device. I tried using the "Power Off" button but it just displays "Shutting Down" and does nothing. Even when I go to the adb shell and run "reboot" it hangs. Any ideas how to restart the emulator so that the new settings appear? Thanks. ...

Android emulator alternative

Hi, I'm completely new to Android development, but I just got a HTC Hero and would like to develop a few applications for it. However, I've use a laptop as my dev machine and the emulator is extremely slow. It took around 10-15 mins to boot up and although I could leave it on, it generally slows down the system when using other applic...

Hello Android problem

Hey Everyone, I am trying the VERY basic tutorial for Android and can't seem to get it to work correctly. Here is a link to an image of what happens when I run the app. It should say Hello Android but it doesn't. I feel retarded. http://teewebco.com/images/helloandroid.gif ...

Problem in executing program in android

I am new to android programming. I have installed the eclipse and android SDK. After doing all the settings. I have executed the HelloWorld program. The program, after execution is generating the correct strings.xml file also. But on execution of the code i am not getting anything on the emulator screen. Is there any additional settings...

Data directory have no read write permission in Android

I m using Android 1.5 my data directory does'nt have the read/write permissions System.out.println("DAta can write??--->"+Environment.getDataDirectory().canWrite()); System.out.println("DAta can read??--->"+Environment.getDataDirectory().canRead()); So please suggest me how to provide permission for the data directory. What m trying...