android-emulator

How do I send coordinates to android through a shell script?

Hi, I've got a question about android and GPS coordinates. I've got a script done in python, which opens a socket and sends a bunch of coordinates to an emulator. On the emulator I have an application running where I've registered an OnLocationListener. The idea is to capture the coordinates and animate the map towards those positions....

How to create a batch file to launch the emulator with the AVD in android?

In reference to my previous question regarding making the .EXE file for demonstration http://stackoverflow.com/questions/2862067/how-to-make-exe-for-demonstration-of-a-android-software-built-in-eclipse Can anyone explain creating batch file to launch the emulator? ...

Android Emulator Screen Size

What do we need to change in the android source code to get the resolution of 1360x768 working in an emulator? The following changes let me start an emulator 1280x720 project bionic/ diff --git a/libc/kernel/arch-arm/asm/memory.h b/libc/kernel/arch-arm/asm/memory.h index c1137a7..743b6ef 100644 --- a/libc/kernel/arch-arm/asm/memory.h +...

how to serially load widget in android application

I'm working on one application which uses widget approach. one HTML page is there which includes 6 widgets which will be added in the page at runtime. for each widget one xml and js file is there... when page start loading ... it's tries to load all the widget at same time .. and unable to load all the widget . like if there are ...

PhoneGap's vibrate() and beep() functions break in iPhone, Android emulators

I have a PhoneGap app that I'm testing on webOS, Android, and iPhone. I'm using physical devices as well as emulators (the ones that come with their respective SDKs, not the PhoneGap emulator). Part of the code uses the navigator.notification.vibrate() and navigator.notification.beep() functions. All the physical devices I'm using eith...

Google's global quick search widget missing in Android 2.2

I was unable to find the google's search widget on the home screen neither on the the list of available widgets.If i click menu from the home screen and if i press search nothing happens. I could neither find an option called "Search" in settings page from where i could enable my application in searchable items.The issue is we have enab...

Application icon not transferred to Android device

I want to deploy my application with Android 2.1 features. I placed an application icon in PNG format in the drawable-ldpi,and drawable-hdpi folders. When I installed to the device, it is not showing the application icon on the home screen of the device. Please help me how to solve this issue? ...

How does Android emulator performance compare to real device performance?

I'm looking into writing an Android game, tough I don't curerntly own an Android device. For those of you who own a device, how does the performance on the emulator relate to real device performance? I'm especially interested in graphics related tasks. This obviously depends on both the machine running the emulator, and the specific dev...

"Hello, WebView" tutorial opens the requested address in Android browser and not in my webview

Hi everyone, I am using Android emulator with AVD of Android 2.1 and I have the following problem: Trying to load a URL in a WebView using webView.loadUrl causes it to open in the browser instead. Note: I am talking about the initial opening, not the issue in which links from the WebView open in a browser, though, perhaps it is someho...

Android: Frame rate drops in landscape mode

I am trying out the (latest) Android SDK, and noticed some strange behavior. I've written a skeletal SurfaceView app: Activity, SurfaceView and a rendering thread. It doesn't actually do any painting, and only writes out the framerate to logcat once a second. When it runs in portrait mode, I get around 60 fps. However, when I flip it to...

android emulator starts without skin

independent of avd settings and startup options. sdk tools revision 6, avd platform 2.2 didn't find any mention of this online, so even if this hasn't happened to anyone here, would be very grateful for even the most improbable causes that can lead to this thanks! ...

Start Learning Android

hi, i am a beginner with Android. I want to learn more about this new revolution. Kindly help me with links that will help me learn creating applications for Android. Please share if you have some simple source-code sites with you. Also show me a forum having high activity with Android users... thank you ! ...

Eclipse ADT plugin

How do I upload media to local storage of emulator device ? Thanks in advance ! ...

byte array of an image in android

i have created a grid view of some images in android sdk (2.1).i need to get the byte array of the image selected and do manipulations(such as to change the LSB).can anyone help with the suggestions or code? thanks in advance ...

android service question

Hello, I have a class, MyService. This is my Android service. I wanna generate two random numbers, and this service should return the sum of these numbers. How can i do that? So , i should generate the numbers in public void onStart(Intent intent, int startid) { //Toast.makeText(this, "My Service Started", Toast.LENGTH_LONG).show()...

how to extract to, subject etc fron email in android emulator?

Hi, I want to extract "To" and "Subject" from email clent which is already configured in android emulator. so, is any api to extract or to get all email attributes? Thanx in advance, ...

Android Emulator Networking

Hi all, How can I make Android Emulator and the host machine (Ubuntu 9.10) connected together to the same network? For example Android Emulator IP Address : 10.0.2.15 Ubuntu Host IP Address: 10.0.2.16 Thanks in advance ...

HTTPClient causing app to force close

I get this error on my Android emulator: Sorry The application has stopped unexpectedly. Please try again. [Force Close] I think the code that is creating the error is this: HttpClient client = new HttpClient(); I have imported the following from JARS: import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpcl...

Audio not working in the android emulator (win7)

When starting my emulator from Eclipse or from the command line (Win7x32), I see no emulator window popup and the process hangs. From the command-line, with -verbose, I see logs until the two lines: emulator: using 'winaudio' audio input backend emulator: using 'winaudio' audio output backend ... and then nothing. When I start from...

Android 2.2 AVD: no Quick Search Box?

I have recently updated my Android SDK to include support for Android 2.2 (API level 8). The app that I'm building integrates with the Quick Search Box (QSB) home screen widget, which I can't seem to find in this version (using both vanilla 2.2 and the Google APIs version). I was kind of excited when they announced that they have improve...