android-emulator

My andriod program never gets loaded in emulater, and no errors.

Hi, I'm trying to learn how to program the andriod. The emulator comes up, but it just has the home screen, not my program. This is the output from the console [2010-10-27 18:16:16 - HelloAndriod] ------------------------------ [2010-10-27 18:16:16 - HelloAndriod] Android Launch! [2010-10-27 18:16:16 - HelloAndriod] adb is running norm...

Android Emulator Debugging, Code will not Update

I'm having a troubling problem testing some code for and Android app. My app has two parts, and activity where the user changes some settings, and a broadcast receiver that responds to SMS messages, both in the same package. Here's the problem, I first implemented some simple code to test out the broadcast receiver and the activity, an...

Android emulators not simulating correct density or resolution. Possibly a surfaceview implementation issue.

I’m building a small app that is using a surfaceview class that extends surfaceholder.callback. It is implemented just like the lunarlander example. My problem is that each type of emulator I use (low, medium or high density) doesn’t seem to actually change the density of the screen or the resolution to what I would expect. I recently...

Android App Launch Creates Blank xml File

I launch my app from Eclipse on an emulator and Eclipse creates a new blank file called main.out.xml then refuses to launch because this new file is blank. What is causing this? What do I do about it? ...

HelloAndroid Program

I'm new to android sdk. I started with the HelloAndroid program. I followed all specified instructions, but to my surprise, the emulator is not diplaying the "Hello Android" text. Instead the emulator looks like the one shown above(You can see "LogCat" at the bottom of the image). The Console shows msgs like, [2010-10-28 20:14:59 ...

Comunication between Android Emulators

Hi to all, I wanted to know if it is possible the comunication between two Android Emulators started on two different machines networked. For example - Emulator A run on machine M1 - Emulator B run on machine M2 Can A and B exchange messages? If yes, what ip address do I use? Thank you very much Deborah ...

Android: how to debug application on Nexus One

The desktop application emulator works fine. Settings > Applications > Development > USB debugging is checked. The "USB debugging connected" alert is displayed on the Nexus One when the USB cable is attached but I can't seem to get the debugger to run the code on it. Is there something else I need to do to get the debugger to work on the...

Handling Activity Stack in Android Apps

Lets say I have three Activities in my App. 1) Signup Activity 2) AccountActivate Activity 3) Main Activity Order 1 -> 2 -> 3 (User Signs Up -> if Sign up is successful -> Enters PIN and activates account -> if activation successful -> lands in Main Activity Now here is the problem. Once I am in Main and the activation is complete, ...

Android emulator unistalls application after the app is closed, but I need to test serialization

Hello, I am trying to implement serialization for an email application on the android (stroring username, password, server etc.), but in order to test it I have to close the application in the emulator and then re-open it to ensure that it looks and finds the file with the serialized objects. The problem is that when I close the appl...

Android Emulator loading wrong density

I am trying to simply test my app under a QVGA setting, but 95% of the time when I run the QVGA emulator I created, it loads the resources associated with HVGA. I have custom bitmaps that I include in my app, so it's crucial for me to be able to verify the appearance. To see what the density was being treated as, I added the following c...

Android widget in emulator

I have an existing android app. I added a simple widget to it using the following: updated my manifest with a <receiver> block which provides information about my AppWidgetProvider implementation added a new xml files in res/xml with a <appwidget-provider> element that contains the height/width/updatePeriod/initialLayout/icon/label att...

What fees are involved in publishing an android app?

Hey all. Im tossing up at the moment whether or not to start developing for iPhone or Android. The main thing drawing me towards Android at the moment is that apps are developed using Java, which I like, as opposed to Objective-C, which I hate. Really though, the next thing on my list is to consider the costs. Apple requires you to jo...

Developing a service that starts on boot using the emulator

I am trying to develop a small app that starts on boot for a class. I tried to follow the instructions http://www.androidcompetencycenter.com/2009/06/start-service-at-boot/ but I am having problems. Manifest <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> <receiver android:name="MyStartupIntentReceiver"> <...

Activity not responding error on emulator when using webservices in json parsing?

Hi, Am new to android, am developing application with websevices using json parsing with httpget method,cant use http post method in android actually. It working fine normally, but many time it shows the error on emulator like activity not responding force close activity.when i put that url in browser it shows the result .but i don't ...

Android skins layout file syntax

I'm teaching myself how to make custom AVD skins by editing the layout file and associated .png files in the android-sdk-windows\platforms\android-nnn\skins\ folders. The syntax of the layout file is simple and pretty self-explanatory but I'm curious about it ... Is it meant to be hand-edited or is it generated from some tool or uti...

Android Emulator Tips and Tricks

What is your Emulator feature that you could not work without? Which unknown great shortcut, console command or startup option is there that you discovered and you think has to be also known by all other Android devs? Share your Emulator wisdom with us. ...

AVD Droid X skins don't fit on the screen

I'm teaching myself Android (using a book) and I've downloaded Tea Vui Huang's Droid X skin for the using with the Android SDK in Eclipse. When I run the emulator, the top of the window showing the Droid X's screen runs off the top of my laptop screen. Is there anyway to make the skin smaller? This happens with the WVGA854 skin that co...

running android emulator in eclipse

Hey guys, Does anyone know how to run the emulator within eclipse without using ADT. All I want to do is run the emulator with -partition-size option of the emulator and you cant do this by default. Im sure there might be a tricky way of doing this but googling doesn't give me any clues. does any one know ? I also thought about runnin...

Android, How to use the camera

I would like to do something like this. If the user presses "Pictures" than i can choose either to pick a picture from "Picture folder" or take a new picture, How can I do this and how can I use the cam? I have problems useing the cam, Does the cam work in the simulator? ...

Android emulator and SMS testing

I am sending a SMS from one emulator to another. Emulator 1 uses the port address of emulator 2 to send to. If I use the correct port address the message shows up on the 2nd emulator. If I use a false address although the message does not show up the Activity.RESULT_OK shows -1 which indicates that the message was succesfully sent....