android-emulator

Program won't upload to emulator - IOException

Whenever I try to run a program in the android emulator, I get the following console output: ... [2010-08-20 12:40:55 - HelloAndroid] Uploading HelloAndroid.apk onto device 'emulator-5554' [2010-08-20 12:41:04 - HelloAndroid] Failed to upload HelloAndroid.apk on device 'emulator-5554' [2010-08-20 12:41:04 - HelloAndroid] java.io.IOExcep...

Android - Application (apk) Maximum size

Hello, I am going to install first application in my android phone, but having some doubts related to Android Memory (Maximum size of APK). So pls help me know and solve the problems: What is maximum size of the apk that can be supported by the android ? When we install any apk file in real phone, where does application installed (in...

Android Emulator for windows?(Not to install the Complete SDK, Just Emulator Needed)

Hi Folks, Is there any possible way to install Android Emulator itself on the windows. I would need that for the Testing purpose? Any Idea? Please Note: I dont want to install whole sdk. i just want install the Emulater itself. that emulator is just like that a phone for the testing purpose. Thanks in Advance ...

Error Creating Table on Android

I'm trying to create a table in android database, but when i try to run the application the LogCat returns the following error: 08-22 02:39:29.098: ERROR/AndroidRuntime(277): Caused by: android.database.sqlite.SQLiteException: near "auto_increment": syntax error: CREATE TABLE words(id INTEGER PRIMARY KEY, word TEXT, count INTEGER not nu...

Unable to launch Android application in Eclipse; An internal error occurred during: "Launching myApp"

I'm unable to start up my Android application in Eclipse, I'm getting the following error when I select "Run as Android Application" I have my Android Virtual Device running, can't see any issues with that (I'm able to navigate around the OS on the emulator etc) When I try to "Run as Application" I get the following popup from eclipse ...

Emulator does not load

I am using the hello android tutorial and creating an avd through eclipse. When starting the emulator no image is used. It simply displays a black back screen with the word ANDROID in the center and a blinking cursor at the end of the word ANDROID. I have followed the steps to the T for installing the SDK, Eclipse, and the ADT. Even ...

How to make my Android app update in time

Hey, Im trying something in android, that has to get the words sent in sms and print on the emulator screen. But the app doesnt update in time. I send a message. Ok. But when I open the app it doesnt print the words that I've sent. So i have to close the emulator and then open it again, and run the app, and the word is there. Id like ...

listvew selector showing in emulator but not on device

I've run the HelloListView sample from the dev guide, and when it runs in the emulator, the orange selected highlight displays on each item as you scroll through the list. When I run this same app on my HTC Desire, the orange selection never displays. If I tap to select an item I get a green highlight to flash. Is this normal or some set...

How to get width of the Button in android

I want to show EditText and Button in one line. But the size of the button is the fixed to some pixels. I wanted to get the width of Button programatically so that i can adjust width of EditText on changing the orientation to vertical or horizontal my XML file is as follows <LinearLayout android:id="@+id/middleLayout" android:...

change background color of Preference

Hello all, I have a PreferenceCategory, xml file and I have defined all preferences in it, I call this from class that extends PreferenceActivity. I am unable to set the background of my settings screen , this screen is displayed with help of xml file shown below. Please see that I have already defined the android:background="#041A37", ...

Android Virtual Device gets hosed somehow

I am going through the Android tutorials and at some point an app won't load. The last message on the console is "Installing RelativeLayout.apk..." and it just stays there forever, instead of going on to the "Success" message. Visually, what is happening on the emulator is that it starts with the "A N D R O I D" phase, goes on to the ch...

SSL error when trying to connect to internet in Android emulator

I am running into a problem simply trying to connect to the internet from the Android emulator. I am behind a proxy server and am using the -http-proxy tag when I start the emulator. When I try to connect to the internet in any fashion, it fails. When I open up the internet browser I get the following exception: Unknown error 1 durin...

customize check box preference

Hello all, I am unable to customize my checkbox , although I have defined the background in the xml preference file, it doesn't pull the file. 1. I am trying to display custom images for checkbox and have defined the selector xml as "android_button.xml" which looks like : <?xml version="1.0" encoding="utf-8"?> <selector xmlns:andro...

android emulator access server in local network

hello, i am having difficulties to have my android app running in the emulator to connect to servers in my local network. i am getting a java.net.UnknownHostException but the servers are resolvable fine from the machine where the emulator is run. thanks for any help on this topic! ...

how to record key / motion / touch events in android

Hi, Anybody know how to record key events / touch events / motion events occured on an android device or emulator. and these can be utilized again for testing / iteration purpose Please help ...

error on installing .apk file with verrsion2.1

I just worked my android application with device (htc magic)version1.5 and it loads properly and when i try to load the same application with the other phone by installing the .apk file of version1.5 with android version 2.1 and kernel version 2.6.29 omap1 but now i couldnt find my application getting installed on my device... I have...

Android emulator does not start in eclipse

Hi I just installed the whole shebang in order to develop android apps in Eclipse (I'm running 64-bit gentoo). Everything seems to go fine, and I created the dev group's hello-world example: package com.nfshost.flyingmonkey.android; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class He...

Android Tablet Application Development.

I typically use Eclipse with the Android Plug-in for mobile phone development. I was wondering how I could use this existing setup to develop and test Android Tablet applications. Anyone have any suggestions/experience with this? Any alternatives for testing? Update: http://www.droidsector.com/blog/2010/05/21/how-to-emulate-a-tablet-in-...

unable to connect to internet from android when laptop is using wifi network

Hi, I am using laptop and connected to wifi network. I have started the android emulator and open the browser to browse. But it is not working. thrown error saying network connection not available. But I am able to browse in my laptop. How I can enable emulator to use wifi network for internet? Please help me. ~JP ...

Sample Contacts on Android Emulator for Testing?

Short of a) using a real device, or b) exporting/importing contacts via SD card ... then creating the SD card 'file' for the emulator, and importing it after each emulator launch ... is there a more turnkey (saner) way to get a set of sample contacts onto the emulator for test purposes? ...