Android :: Camera Application 1.5 On Emulator Do Nothing
May 22, 2009
Strange behaviour with emulator running with Cupcake. When emulator is launched (via ADT), a SD card is mounted correctly, and I click on Camera, I have a black screen and nothing happens, I got the famous error with Wait or Force close wait, wait, wait nothing happens. I create with AVD the target 3. I'm on Windows XP SP2.
View 9 Replies
Dec 6, 2009
My camera stopped working. When I click my camera application I get the message "The application camera (process com.android.camera) has stopped unexpectedly. Please try again". It's just a blank screen?
View 3 Replies
View Related
Apr 8, 2009
Is there a way to reload an Android application in the emulator without closing the emulator, saving any code changes, and running the emulator again? If I make even a simple change to the layout, it takes about 30 seconds by time I run it in Eclipse and Android "boots", and I can unlock the emulator to run the application. Is there any way to shorten this time when making changes, or is it something I just have to deal with?
View 3 Replies
View Related
Jun 19, 2009
I've just noticed that launching the Camera and Camcorder (in the emulator) would result in a black screen (instead of the famous moving small boxes), i've looked for why this happening on the net, apparently that the camera is disabled by default when you create an AVD. Decided to create another AVD with the camera enabled and launched it and still getting that black screen. Anyone has any idea how to fix this ?
My problem in the first place is that my application is using the default camera application using intents just like in the following: Intent imageCaptureIntent = new Intent (MediaStore.ACTION_IMAGE_CAPTURE); imageCaptureIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(new File("/sdcard/imageCaptureIntent.jpg"))); startActivityForResult(imageCaptureIntent, WHATEVER_REQ_CODE); I thought that there's a problem in my intent request but like i said before, running the camera on the emulator itself is the problem. By the way, You can run the "camera preview" in the API demos with no problems, how come!
View 5 Replies
View Related
May 30, 2010
How can i use web cam with android emulator?
View 3 Replies
View Related
May 21, 2010
I wish to simulate camera in the android emulator using the webcam. Basically I need to only take photos with the camera in the emulator (live preview is not needed i.e if it makes it any easier) I followed the tutorial here which is the only one I could find that was close to my requirements But many of the libraries used in that tutorial(like android.hardware.CameraDevice) are not available in present sdk and are replaced by new libraries(like android.hardware.camera). Any help on how to do this in the present sdk(2.1 or 2.2) would be much appreciated.
View 1 Replies
View Related
Jun 28, 2010
We are exploring the default applications in Froyo and we found out that the Camera app always crashes seconds after it loads.
Is this related to the no camera/video input limitation of the application? If not, what seems to be the problem? We already added all the additional properties to the AVD. We also disabled the auto-rotate screen option.
View 2 Replies
View Related
Jan 23, 2009
There is Camera application in Android Emulator.
The application code is Camera.Java but I don't know where is it?
View 2 Replies
View Related
Feb 24, 2009
I have 1.0 r2 and it takes garbage pictures, and crashes when trying to view any saved image (I've only saved images taken from the emulator's "camera" so I don't know if it shows images that were pushed via adb properly.)
I'll try the 1.1 SDK, and failing that, an earlier version.
Is this a known issue, sort of a "well, if you're really going to work with pictures, you should be using a G1 anyhow..." kind of thing?
View 2 Replies
View Related
Aug 14, 2009
As far as i know, Android emulator doesn't have a camera. To capture a live image we have to use the web camera. I have seen code in this web site to use the web camera in the android emulator to capture an image, but I don't know how to use this code.
View 2 Replies
View Related
Jun 1, 2010
The Emulator's camera worked fine for taking pictures in 2.1 Eclair. What did not work was recording videos, obviously.
Now running an app which worked merely flawless on 2.1 Emulator causes the camera app to crash. I fire up an intent to launch it:
CODE:...................
This starts the camera app but after a few seconds it crashes.
The output is:
CODE:.................
Actually I just wanted to see if the bug which made you receive a small image from the camera even though EXTRA_OUTPUT was specified has been fixed in FroYo. Unfortunately, I don't even get to test it.
View 2 Replies
View Related
Aug 19, 2009
How to use my local computer camera in android emulator?
View 1 Replies
View Related
Oct 28, 2010
I am using Android 2.2 (API Level 8). The camera is enabled in the manifest. When I try the camera icon provided by the emulator model, it runs for a few seconds showing a gray box moving around a black and white checkerboard, then dies with the error message...
View 1 Replies
View Related
Sep 29, 2010
I'm using the android SDK in Eclipse on Linux. I've used the code at itp.nyu.edu/~sve204/mobilemedia_spring10/androidCamera101.pdf to write an app to store an image captured through the camera onto SD card (there are various examples of this around). It works ok except that the image returned by the camera is not what's on the preview surface. Instead of getting the checkerboard image I expect, I get different versions of the android icon depending on which version of target I choose. If I render the image to an ImageView this is confirmed as it's the same as on the SD card.
View 1 Replies
View Related
Oct 13, 2010
I think it is stupid question still to make confirmation I am asking this question - Can we run android application on directly computer without using emulator?
View 7 Replies
View Related
Nov 19, 2009
The camera button on the android emulator is disabled. I can't click on it and when I hover with the mouse the background is not blue like in the other buttons. I've tried to add "camera support - true" hardware but the button is still un-clickable. How can I click on the button? What should happen when clicking on the button? I don't have an real android device so I might be able to click on the button without knowing it.
View 1 Replies
View Related
Jul 27, 2010
I have written an application in eclipse to run on android emulator but the application is not deploying on emulator and it says Failed to load properties file for project helloworld. in the error report it says An exception for stack trace is not available. I am not able to understand what to do as i am new to android. Please help me to find d sol for this problem.
View 5 Replies
View Related
Nov 14, 2010
I need to force an Android project created in Eclipse for the 2.0 platform to run on the 1.5 AVD (emulator). This is due to the fact that I'm writing an app that will support both the Contacts API and the ContactsContract API.
View 2 Replies
View Related
Feb 11, 2010
How to access my web application database in android emulator, i want list out my database values. These are in my web application. database name employees and table: employee_data. i want to get employee_data data on android emulator.
View 1 Replies
View Related
Sep 22, 2010
Are there any limits on the number of threads or any constraints on how the emulator (under Eclipse) schedules the application threads? I get suspended threads that don't really wait on anything but rather get bumped out from execution time. I will try using the Debug class to get some statistics on the thread alloc etc. even though the DDMS does that already. One example is, I have a simple class that simply prints a '.' every 3 seconds - well, the LogCat shows the emulator collecting garbage objects but the thread is suspended and does not print the '.'
View 7 Replies
View Related
Nov 16, 2010
I'm testing a simple hello app and it's not launching on the emulator. There's no errors and the console is this:
[2010-11-16 21:26:06 - Hello World] ------------------------------
[2010-11-16 21:26:06 - Hello World] Android Launch!
[2010-11-16 21:26:06 - Hello World] adb is running normally.
[2010-11-16 21:26:06 - Hello World] Performing com.hello.HelloWorld.HelloWorld activity launch
[2010-11-16 21:26:09 - Hello World] Launching a new emulator with Virtual Device 'VirtualDevice2.2'
The emulator launches and the screen appears with the lock and my app doesn't start. Tried to unlock and go to launcher to look for my app and it's not there. Anyone can help me on this one?.......
View 1 Replies
View Related
Oct 5, 2010
I currently found out, that my Application developed for Android 1.6 does not work on Android 2.2. I'm quite puzzled about this, because its a very simple Application which almost does nothing. The Expeption I get is like that:
java.lang.RuntimeException: Unable to instantiate application [packagename].AndApp:
java.lang.ClassNotFoundException: [packagename].AndApp in loader
dalvik.system.PathClassLoader[/data/app-private/[packagename]-1.apk]
The weirdest part is, that the Class it is searching for here does not exist and never has. The app itself does nothing than show some text in a textview. In Android 1.6 I dont get this problem and I cant see a reason, it event works in 2.1. The Manifest looks like that:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="[packagename]" android:versionName="1.02" android:versionCode="3">
<application android:label="@string/app_name" android:icon="@drawable/stop_48"
android:description="@string/Description" android:name="@string/app_name">
<activity android:name=".DefaultActivity" android:label="@string/app_name" >
<intent-filter> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </activity>
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4"</uses-sdk>
</manifest>
View 2 Replies
View Related
Mar 8, 2010
I have developed an application in Rhodes framework and deployed the application in an Android emulator. When I try to access the application i get the following error, SD card error, Application can't access the SD card while it's mounted.Please unmount the device and stop the adb server before launching the application. I have tried to unmount the SD card in the emulator but I am unable to do that.
View 1 Replies
View Related
Sep 16, 2010
I'm testing an application I'm working on and I wanted to delete the database my application creates so I could read all the data from my web server back in to a fresh one.
I launched adb, went to data/data/my.applicaton.package/databases and did a "rm mydatabase". This deleted the database (note: I've done this many many times before without a problem).
I launched my application again and, to my surprise, a new database wasn't created. Even more surprising is there was data in my application. My application is still pulling the data from some where! It gets a Cursor from my database and uses a CursorAdapter to populate the list. So, it is obviously reading from a database (seemingly a cached one?).
View 2 Replies
View Related
Aug 13, 2010
I am trying to write an android application and my workflow is as follows:
Write some code
Click run as Android Application
Eclipse then starts the android emulator
Install the app on the emulator
Run it
It seems to me that there is no need for it to start an android emulator(3) each time and to kill it. It'd be nice if there was a way an android emulator always running and eclipse just installs/uninstalls the app instead of making me wait every time.
View 1 Replies
View Related
Dec 4, 2009
How to delete application from emulator in android?
View 3 Replies
View Related
Jan 4, 2010
I opened my android emulator & now i like to execute my application. How much time it will take to install that application in emulator?
View 2 Replies
View Related
Sep 28, 2009
Can anyone tell me how can I use my computers web cam as camera in android emulator. Tutorial would be a great help for me.
View 6 Replies
View Related
Oct 23, 2010
I am in middle of learning application development. I have created an application in 2.2 and tested that in my HTC Nexus One device. I looks like fine. My client testing same application setup in his device (Droid2). I don't have that device to test.
He said there are some font sizes are vary and button alignments are missing. When I testing in my device everything looks fine. So, I need to test my application in Simulator which resembles like Droid2 device. Can anyone tell me how to create emulator and setup like Droid2. And also, is there any need to adjust my code or anything in manifest file.
View 2 Replies
View Related
Oct 6, 2010
I'm working with Eclipse and writing an Android application. I've noticed that the load times to the Android emulator can vary significantly. Recently, I found that manually going back to the main menu of the emulator helps my application load much faster.Is there a quicker way (read: automatic way) to exit out of my application rather than hitting the Back button multiple times until I get to the main app menu? Secondly, is there something I am doing wrong that factors into the longer load time?
View 1 Replies
View Related