android-emulator

Android app google maps showing grey tiles and not map!

Hi, I followed this guide here perfectly and have gone through it again but when I run the program on my google avd the page loads but only grey tiles appear and it doesn't show a map which it should. Does anyone have any ideas? Thanks ...

application crashes while putting setContentView in thread class in emulator

when I put the setContentView in thread as below, it crashes while running in emulator. new Thread(){ public void run() { setContentView(R.layout.main_layout); } }.start(); ...

[android] showing dialog while loading layout by setContentView in background

I am using below code where , i want to show dialog in front and loading content in background but not able to do the same . Please advise. dialog = ProgressDialog.show(this, "", "Loading. Please wait...", true); runOnUiThread(new Runnable(){ public void run() { setContentView(R.layout.main_layout); dialog.dismiss(); } }); ...

Android App Fails To Launch

All I'm trying to do is open a very simple application that is supposed to do nothing but display an imageView above a textView. The application worked fine until I added the imageView so I'm assuming my problem has something to do with that. Here is the code: package com.isi.sa; import android.app.Activity; import android.os.Bundle; ...

How can I erase the old data from logcat?

when I run the command adb logcat while running the android emulator, all of the old logs blow past and so I figure they are stored in a file somewhere. Is there a command I can run to clear the logs and start fresh? If not, is there some other way to do this? ...

Android: How to maintain backwards-compatibility?

According to the instructions found here, to make your app state which screen sizes you can support, you'll need to compile your app against Android 1.6. Using the minSdkVersion and targetSdkVersion this should run also on Android 1.5: <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/> However, when I try...

Would it be possible to speed up Android Emulator by removing unnecessary apps?

I am using Android SDK 1.6 and developing some simple apps. It seems everytime Android Emulator loads every default apps, like message music browser etc... I guess this cause the booting process slow (takes 1 minute overhead for me to test the code every time). Would it be possible to take these apps out and just have my apps on the emu...

Making the Android emulator run faster

The Android emulator is a bit sluggish. For some devices, like the Motorola Droid and the Nexus One, the app runs faster in the actual device than the emulator. This is a problem when testing games and visual effects. How do you make the emulator run as fast as possible? I've been toying with its parameters but haven't found a configura...

Can you test Web Apps on Phone Emulators

Is it possible to test a web app in an android emulator and an iphone emulator? Is it possible to direct the browser to a url within a mobile emulator? ...

Can the android emulator be rooted to run python scripts as root?

Using the Android Scripting Environment (ASE), I can run Python scripts on the Android emulator that ships with the SDK. However, I want to run the scripts as root/superuser for some reasons, like creating log files and some more. Like the actual phones, can the emulator be rooted to execute these scripts as root or some superuser? Tha...

(re)mounting the SD card on android emulator

On the emulator, I can unmount the SD card from the Settings. I can then mount it on my OS, then unmount it normally. I haven't been able to figure out how to re-mount it then on the emulator (without rebooting it). hints: the adb command remount is unrelated: it's about /system the emulator command is unrelated: it's only about sta...

code for TouchPad works, but not for DPAD ...please help me to fix this..

package org.coe.twoD; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; //import android.graphics.Path; import android.graphics.Rect; //import android.graphics.RectF; import android.os.Bundle; //import android.util.Log; import androi...

Android emulator -dns-server usage

I am currently somewhat struggling to get the Android emulator to use a custom DNS server, which is running on localhost (127.0.0.1). As of now, I have tried various approaches trying to convince the emulator to use my DNS server, so far without success. In the end, it always boils down to the following error message: ### WARNING: can'...

Implement Camera on Android Emulator | Need some knowledge

I'm interested in doing some enhancements to android emulator (implement webcam on emulator). Therefore I'm following the android source and emulators source to get basic understanding & the connection between modules. But its really hard to understand it for someone who is new to android. Therefore can anyone please direct me to some r...

I wanna run an android emulator with disk images

hi i'd like to run an android emulator with disk image. so I tried this ./emulator -kernel kernel-qemu -system system.img -ramdisk ramdisk.img -initdata userdata.img -partition-size 512 then error massage is : if you really want to NOT run an AVD, consider using '-data ' to specify a data partition image file (I hope you know what yo...

Launch Android Default Email application through btn click

Hello Experts, I posted this query here, but as usual, noone knows / no replies http://www.anddev.org/viewtopic.php?p=41513#41513 How can I launch the android default mail application through the click of a button in my code? I would also like to know, how this can be done to launch the contacts list also. Any help in this regard is...

Unable to start Android emulator > 1.5

Hi ! I got this trace when I tried to launch android 1.6 or 2.1. Android 1.5 is working fine. I tried to reinstall each SDK, but there is no way to get it working. I created those AVD with Eclipse plugin. geo@geo-laptop:~> android/android-sdk-linux_86/tools/emulator -avd a16 *** glibc detected *** android/android-sdk-linux_86/tools/emu...

In the android emulator is it possible to notice vibration effects?

Quite a simple question, Is it possible to notice vibrations in the android emulator? ...

Cant delete more than 200 contacts in HTC HERO

I'm working on security application which will copy all contacts to some other database and delete all contacts from phonebook. I'm testing this on android HTC HERO. I'm successful to delete contacts from phonebook and create new contact info database, Till 200 it is working, but after 200 contacts its not working properly. After tht app...

Why is my Android app camera preview running out of memory on my AVD?

I have yet to try this on an actual device, but expect similar results. Anyway, long story short, whenever I run my app on the emulator, it crashes due to an out of memory exception. My code really is essentially the same as the camera preview API demo from google, which runs perfectly fine. The only file in the app (that I created/use...