android-device

When I debug my application I get frequently Launch error: Failed to connect to remote VM

When I debug my application I get frequently Launch error: Failed to connect to remote VM even If I try again it doesn't help, I need to restart Eclipse. Edit Not sure yet fully if the symptoms have to do with the fact that I get this error only when I launch Debug without a code modification. Whenever I do a modification to the source ...

How can I popup when no connection the default Connection Failed dialog?

Whenever a application needs internet and connection fails, I get a message dialog Connection failed This application requires network access. Enable mobile network or Wi-Fi to download data. and two buttons, Settings, Cancel. How do I detect there is no internet connection? How do I popup a same dialog in my application? ...

How to use the date format that has been setup as default in Settings?

As you probably know, you can setup date format in the Settings of an Android device. In code how do we make sure that we use that format for date display? ...

How do I get the logfile from an Android device?

I would like to pull the log file from a device to my PC. How can I do that? ...

Re-installation failed due to different application signatures.

I moved my Android project to a laptop and now I get this when I hit Debug. Sounds like this is a bug? This shouldn't happen via Eclipse as far as I know. Re-installation failed due to different application signatures. The weirdest thing is this happened after I upgraded sdk/adt and Eclipse to support SDK 2.2 It was working fine earli...

canvas different on android emulator compared to phone

Should there be any difference between a canvas on the emulator and a canvas on a real device (HTC Incredible)? On my canvas for the emulator I have this: canvas.drawRect(x*cell_size + 1, y*cell_size + 1, x*cell_size+cell_size, y*cell_size+cell_size, pWalls); (this is a grid type game) and it works and looks fine but on my real device...

Android sample app not showing up

New Android developer here. I'm following a tutorial at http://www.vogella.de/. The first applications (does temperature conversion) works. The second (does preferences and uses a menu) one never shows up. I've tried using both Helios and Galileo. I've tried re-installing Android SDK. I've tried removing the test device and re-creating i...

Android: Within Android Device Chooser the same device shows up several times

I am using Eclipse to program for the Android OS. I use a real device to test my application on. To test my application I click on run, then the target project i wanna run and then the Android Device Chooser pops up, where I can choose the device or emulator that I want to run the application. (like probably every programmer here). But...

Stop Android OS auto-update

We have a variety of devices for testing purposes, and now that Froyo is being pushed (to the Nexus One so far at least), we have to constantly dismiss upgrade requests. There is no apparent "stop asking me" button. So, is there any way I can disable OTA OS updates? We want a number of these phones to stay on old OS versions. ...