Android :: Android Camera / SnapShot Application
Feb 28, 2010
I was trying to write a snapshot application on android and I got stuck at this error:
02-28 19:11:10.851: ERROR/QualcommCameraHardware(51): native_get_picture: MSM_CAM_IOCTL_GET_PICTURE fd 12 error Connection timed out 02-28 19:11:10.851: ERROR/QualcommCameraHardware(51): getPicture failed! 02-28 19:11:10.851: DEBUG/QualcommCameraHardware(51): snapshot_thread X 02-28 19:11:10.921: DEBUG/QualcommCameraHardware(51): snapshot_thread E 02-28 19:11:11.921: DEBUG/CameraService(51): takePicture (pid 1304) 02-28 19:11:14.651: DEBUG/dalvikvm(362): GC freed 200 objects / 7384 bytes in 196ms 02-28 19:11:15.921: ERROR/QualcommCameraHardware(51): native_get_picture: MSM_CAM_IOCTL_GET_PICTURE fd 12 error Connection timed out 02-28 19:11:15.921: ERROR/QualcommCameraHardware(51): getPicture failed! 02-28 19:11:15.921: DEBUG/QualcommCameraHardware(51): snapshot_thread X 02-28 19:11:15.991: DEBUG/QualcommCameraHardware(51): snapshot_thread E 02-28 19:11:16.991: DEBUG/CameraService(51): takePicture (pid 1304) 02-28 19:11:19.891: DEBUG/dalvikvm(128): GC freed 6099 objects / 326768 bytes in 407ms
I put the camera object to take picture in a loop and none of the time, the take picture work.
View 3 Replies
Nov 17, 2009
Does anybody know of an app that can view Microsoft Access Snapshot (.snp) files? I think they're basic images, but a proprietary format. I haven't seen anything in the market that looks like it would do the trick. I get these emailed to me from work and would love to be able to open them on my phone!
View 1 Replies
View Related
Jul 27, 2010
So I was aware of camera problems when flashing Kaos, but I'm having trouble getting Camera 360 or Camera Magic to work.
Camera 360 lags really bad before taking the photo, and Camera Magic hangs while "saving snapshot" or whatever it says after you snap a picture.
View 12 Replies
View Related
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
Jun 10, 2009
Is there a working snapshot of Android that will run on my HTC Touch ("ELF0300" with OMAP850 processor)?
View 2 Replies
View Related
May 21, 2009
As the subject, it looks like get the windows DC in windows Mobile. How can I meet this effect?
View 3 Replies
View Related
Sep 8, 2010
Is there a way I can save the current snapshot of my app before it gets destroyed (when it gets rotated):
I know I can save all my data in
public Object onRetainNonConfigurationInstance() {}
But is there something simpler because I have a lot of data that would need to get saved.
View 2 Replies
View Related
Mar 21, 2014
I want to install an APP from Google Play which takes HDR photo coolly. I'm aware that there are many APPs in the market but I don't really know whech one is the best for taking photo and capturing video in HDR mode.
View 1 Replies
View Related
Apr 16, 2014
I just purchased my first android tablet (never had android before) and how to remove the volume up and down icons from that black bottom bar (where are the home button, back...etc) because i have physical key to do that job. Another icon that i want to remove is the snaphot.
View 5 Replies
View Related
Aug 25, 2010
I'm new to Android so have probably missed something. I'm running a Droid X and looking for a simple way to get a snapshot reading of the battery (% charge mostly). I haven't found it yet on the standard phone, and the battery widgets from the marketplace do far more than I'm looking for and seem to have the side effect of draining the battery anyway.
View 7 Replies
View Related
Dec 30, 2008
Does anyone know of any apps that can disable the camera? My work does not allow camera phones.
View 8 Replies
View Related
Jun 23, 2009
I want to call camera application from my own application, take video. Then I want to get the video back and return to my application. How Can I do it?
View 3 Replies
View Related
Mar 13, 2009
How to make camera work for the android file system. When am I clicking camera application button, only square blocks are coming in the LCD screen.
View 2 Replies
View Related
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
View Related
Aug 19, 2009
How do I pass an Intent from my application to the Camera application to bring it to the foreground?
View 4 Replies
View Related
Feb 5, 2009
When I was using the camera application, the ERROR: Please insert SD card before using camera jumped out because the driver of sd card haven't been porting properly. Is there anyway to use android camera application without sd card?
View 2 Replies
View Related
Jan 7, 2010
I've been trying to write an application that uses the Camera App to take a picture. So far, the only thing I've been able to get back successfully is a tiny bitmap picture. I've found several other posts related to this topic that have code that is reported to work, but it does not work for me. I'm hoping someone can steer me in the right direction. Below is the code I am using currently, but it causes the application to blow up.
private void takePicture(final int x, final int y, String description) {
// create a file on the SD card
File file = new File(Environment.getExternalStorageDirectory(),
"tmp_" + String.valueOf(System.currentTimeMillis()) + ".jpg");
// Create the URI that tells the camera where to put the picture.
mOutputFileUri = Uri.fromFile(file);
statusLine.setText("URI => " + mOutputFileUri);
mIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE)
.putExtra(MediaStore.EXTRA_OUTPUT, mOutputFileUri)
.putExtra(PIC_X, x) // x coordinate of square
.putExtra(PIC_Y, y) // y coordinate of square
.putExtra(PIC_DESCRIP,description)
.putExtra("return-data", true) ;
startActivityForResult(mIntent, PIC_FROM_CAMERA);
}
Ultimately, I want to be able to get the picture back and do two things with it: create a 64x64 icon that is displayed by the Android application, and upload the picture to a web application. I'm running this on the emulator using Android 2.0
View 3 Replies
View Related
Aug 18, 2010
I am trying to compile and run the Android Camera for sdk 1.6 (also called API level 4 or Donut release). While there is no minSdkVersion in the AndroidManifest, it clearly does not run on a donut device. In fact, if compiled with sdk 2.2 the camera will crash with a NoSuchMethodError execption on an avd or a G1 with sdk 1.6. I tried also checking out the [donut-release] tag, but, strangely, it won't even compile giving many errors like:
[javac] /home/mrucci/camtest2/src/com/android/camera/ImageManager.java:41: cannot find symbol
[javac] symbol : class DrmStore
[javac] location: package android.provider
[javac] import android.provider.DrmStore;
[javac] ^
[javac] /home/mrucci/camtest2/src/com/android/camera/Util.java:32: cannot find symbol
[javac] symbol : class MediaMetadataRetriever
[javac] location: package android.media
[javac] import android.media.MediaMetadataRetriever;
[javac] ^
[javac] /home/mrucci/camtest2/src/com/android/camera/MenuHelper.java:29: cannot find symbol
[javac] symbol : class ExifInterface
[javac] location: package android.media
[javac] import android.media.ExifInterface;
...
[javac] ^
[javac] /home/mrucci/camtest2/src/com/android/camera/ActionMenuButton.java:81: cannot find symbol
[javac] symbol : variable mScrollX
[javac] location: class com.android.camera.ActionMenuButton
[javac] mScrollX + mRight - mLeft),
[javac] ^
[javac] /home/mrucci/camtest2/src/com/android/camera/ActionMenuButton.java:81: cannot find symbol
[javac] symbol : variable mRight
[javac] location: class com.android.camera.ActionMenuButton
[javac] mScrollX + mRight - mLeft),
In particular, I really do not understand why ExifInterface is used in the "donut" tag when it has been introduced since API level 5.
View 1 Replies
View Related
Oct 19, 2009
I've been using FXCamera for a few weeks now it takes great pictures on my phone, with cool effects like fisheye and the warholizer. FxCamera. Just noticed that android slide has released a version of their Camera ZOOM FX application which has 40 photo FX, geotagging and obviously zoom which I can't do at the moment in FXCamera. Camera ZOOM FX. Just wondering if anyone had a chance to look at either of these apps and which they think is best, because I've been hoping for some new effects for a while and the android slide app sounds worth a look.
View 47 Replies
View Related
Jun 29, 2010
Writing an application to invoke the camera can be done but I want to write an application to hold on to the camera resources. Meaning while this application is running, camera cannot be accessed by other applications. Is this possible? The aim is as long as the application is running camera cannot be used.
View 5 Replies
View Related
Nov 27, 2009
Let's say in my example I am working with SurfaceView for my CameraSurfaceView. I have a few questions, hope you can help me.
1. When this SurfaceView gets created (I assume via final CameraSurfaceView cameraView = new CameraSurfaceView (getApplicationContext()), this will result in a call createSurface() in SurfaceFlinger with format, width and height. Am I correct?
Is this SurfaceView also my UI window if I want to draw anything? I thought if I call setType(PUSH_BUFFER) on this surface, I won't be able to do any drawing on this surface.
2. How does the application pass these information like format, width and height to SurfaceFlinger for the allocation? Is it by using .setFormat, .setFixedSize?
3. How do they methods .setFormat, .setFixedSize related to the surfaceHolder.surfaceChanged() callback?
View 2 Replies
View Related
May 5, 2010
I'm just looking for some insight into what would be the best way for me to store images as part of my app. I have an activity that represents a 'Job' which has a couple of edittext's and underneath was planning on using the Gallery component to show images relevant to this job. The job data is stored in a database (on the sdcard) so was also thinking of creating a table to store 'JobImages' and having each image stored as a byte array.
But I'm not sure if it would be better to store the images directly on sdcard under a folder structure specific to my application and the job. E.g. using the job ID number as a folder name. Depending on which method I use will greatly determine the code that goes into an 'adapter' that allows me to bind to the gallery component so before I begin I was wondering if anyone has had the same design problem and what option they chose.
View 1 Replies
View Related
Oct 8, 2009
Being a newbie to Android I can't work out how to call the camera application (or you can say camera preview?) when I click a button in my custom application.
View 1 Replies
View Related
Nov 24, 2010
So I started with this little write-up. I wanted to try to make an application that will take pictures while running in the background. To start though I wanted an application that once opened would simply take a picture every X seconds. After recreating the classes and methods show in the walk through below I ran into a few problems.
http://itp.nyu.edu/~sve204/mobilemedia_spring10/androidCamera101.pdf
For starters its seems that the onCreate function sets up all the objects for the application, but if you try to take a picture through any other method than onClick (IE directly calling it) the application actually hasn't setup the canvas or the preview yet.
My first question:
Is there any conditional method that you can setup that will wait till all the "onCreate" objects are created and their associated methods are called and finished? How do I wait for the application to finish putting together my surface and starting the cameras preview before automatically starting to take pictures?
My second question:
I am required to have a preview available to take pictures. Is there anyway to push this application to the back (IE running in the background) while still taking pictures? Is drawing to a canvas a requirement? (From what I can tell AFAIK, you are required to have a surfaceholder to start preview, when you put up another screen or application that pauses the current application and closes the surface/canvas you were presenting that preview on). If my understanding is correct on all of this the best I will be able to do is make a 1x1 pixel canvas that will still take up the screen due to the application being in the foreground.
My Third question:
Is there any way around this? Can you still utilize the camera in some fashion without requiring the preview be drawn?
View 1 Replies
View Related
May 21, 2010
My app is using the camera on the phone. For phones w/ 2.0+ I have been able to activate the Flash. When I test on a phone with 1.5 OS on it the app crashes. I get: java.lang.reflect.InvocationTargetException and the Cause is java.lang.VerifyError: fishers.Nav.TakePicture$1
I assume because you have to access the flash differently in apps below 2.0? Can anyone give me some advice or links to examples showing how I could make it work over the whole range of Operating System version or is that just not at all do-able?
View 5 Replies
View Related
Apr 25, 2010
Being relatively new to my Droid, I'm still finding fun stuff. Recently, I picked up the shell/holster combo and really like it. However, while I am at work, I have my phone on vibrate (thanks Timeriffic) and can't tell who is texting/emailing me like I used to (different colors for the LED, thanks Handcent). What I was wondering is: is it possible to write an app that uses the camera flash like a vibrate function.
The ability to customize the number of flashes and duration would be cool, as would the ability to have it only flash when the phone is on vibrate or silent. Preferably, without having to root the phone. If its not possible due to hardware or software lockouts oh well.
View 1 Replies
View Related
Sep 6, 2010
I know I just must be over looking it but I can't find a macro setting on Vignette camera. Is it called something else? I thought maybe it just did it automatically but the pics I have tried to take close up were nothing like the stock macro on the X. I'm sure its user error because this app has everything but I can't figure it out.
View 13 Replies
View Related
Sep 20, 2010
I use google navigation which I think is a brilliant navigation system seeing as it's completely free! The only downside is that it doesn't pick-up speed cameras. Does anyone know of any good speed camera apps that can run in the background or in conjunction with google navigation?
View 1 Replies
View Related
Oct 6, 2010
I see a ton of results when searching for how to open the camera, and get the returned image. What about simply opening the camera app without any return at all? I just want the camera to function as normal.
View 1 Replies
View Related
Oct 26, 2009
I have not noticed this posted yet so just adding here for those that have not found it. The new camera/video/gallery application supports cropping. After taking a photo or viewing in the gallery, press the Menu button and Crop. You can resize the crop box by touching the edges or move it by touching in the center. Using this feature I was able to create and share panoramic images that were much more interesting. Clicking Menu and then More reveals the "Show on Map" command which displays the location the photo was taken.
View 3 Replies
View Related