Android :: Should Import Android.graphics.camera Or Android.hardware.camera
Oct 28, 2010
I am starting an android camera app for taking pictures. When I ctrl-shift-O to get the import for the Camera class there are two choices: android.graphics.camera and android.hardware.camera. Which one should I use and what are the main differences?
View 2 Replies
Sep 10, 2010
I see a couple of threads on this topic, but none of them seem to answer the question, so, I'm giving it another go...
Very simple idea... I want to some portion of the screen to preview (and shoot) the camera and the other portions of the screen to add my own graphical elements (buttons, colorful frame around the camera preview, etc).
The example that comes with Android fills the screen. The obvious solution (that doesn't seem to be working) is to use my own SurfaceView (rather than the one they do in the example) and have it sitting in my XML. The code (beneath) doesn't crash and reports that it's firing up the camera... it just never renders on the screen.
I have no idea what I'm doing incorrectly. My guess is that it has something to do with the display thread never having the urge to redraw anything after it renders the initial screen, but I even tried adding a button and initiating the camera to render on the surface view upon button click, but that has not provoked it any further.
(most of this code is pulled directly out of the Android sample code, so, I'm sure it's correct. I'm just doing something wrong in how I pull my View in after the fact, I think).
CODE:........................
View 1 Replies
View Related
Oct 4, 2009
I am interested in putting some simple graphics (lines, a bit of text, etc) over a live camera preview.
I've looked at the examples, and fiddled around a bunch, but just don't see how to do it.
The examples use a GLSurfaceView as a camera preview surface, but in that mode the view apparently cannot be drawn on. They also fill the whole screen with it. I tried putting it in a normal layout, rather that setting it as the content view, but it does't work.
Anyone know how to: 1) draw graphics over a camera preview when it is the whole view for the activity? 2)do the same thing with a camera preview in a layout shared with other (small) views?
View 3 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
Nov 15, 2009
Whats a camera app that will actually work and not take 30 seconds to take the picture after clicking to take it?
View 2 Replies
View Related
Feb 1, 2010
The android camera API is bound to one camera device, but in some situation we have lots of camera device in a netbook or handset. We can't use the same application with different camera device dynamically. For example, we can select the camera device in the VLC (Video LAN Client) on windows because there is direct show on it, but we can't do that on android by camera API without changing the framework. Guys, is there any mistake at my understand? Is there any plan to modify framework to support this situation ?
View 3 Replies
View Related
Aug 4, 2010
If you could only choose one of these, which would you have chosen for the Fascinate? (Obviously it would be best to have both).
View 8 Replies
View Related
Aug 19, 2010
I cant figure out why my camera button is tiggering the volume and not the camera. Every time I press it to use my camera it keeps lowering my ringer volume and when im in the camera mode(from app) it wont snap any pics, it just takes me back to my main page and lower the volume. Can anyone help me out?
View 8 Replies
View Related
Jul 17, 2010
So I spent the last hour or more in my backyard in 107 degrees taking pictures of flowers at stock settings with both phones. NOT an easy task I will tell you that. My back hurts, but besides that... I did my best to show the best quality of BOTH cameras, because they are both great. I realize that not everyone will agree with me, or will think I messed with something in my pictures. But these are all completely stock settings, not messed with at all. I only touched the flash on/off button.
My decision is I like the X camera better, it is easier to focus, and much snappier. Plus designated camera button! I found on the Incredible while the pictures look great on the phone itself and in gallery, that as soon as they were uploaded the colours looked washed out and not as great. I know this is due to the AMOLED screen. But both overall great. My decision is the X though.
X FLASH:
INC FLASH:
NOTE: Inc would NOT focus any closer without being extremely blurry, tried a gazillion times.
X NO FLASH:
INC NO FLASH:
X FLASH:
INC FLASH:
X NO FLASH:
INC NO FLASH:
Outside Panoramic View from X NO FLASH (Just for fun):
Outside Normal View from Incredible:
View 20 Replies
View Related
Mar 31, 2009
I want to show off how good opengl es can display on my G1. Does anyone know a game with good 3D graphics that I should install for this?
View 13 Replies
View Related
Jul 25, 2010
I'm Trying to fine tune the Camera settings and was wondering if you guys changed the settings around and got better Pictures/Video and what did you change your settings to? I'm more concerned about fine tuning the video Settings even though i know both the Camera/Camcorder share the same settings.
View 1 Replies
View Related
Sep 1, 2010
Here are a few shots taken using both my Epic 4G and my Evo 4G.
1) I'm not a photographer
2) I used Vignette on the Evo 4G
3) I used both the Stock camera and Vignette for the Epic
4) The Epic pictures were taken while there was more sunlight out, the Evo was more in optimum lighting.
5) Neither has been retouched in any way
I also have 720p video shot with both phones, just don't know where to upload it yet.
View 19 Replies
View Related
Jan 5, 2013
I have a problem with my camera so I try to install are the 4.2 camera on my haipad I9300 mtk 6577. No success so now I want to go back to the original ics camera and gallery.. Unfortunately I delete the original ones when I install the 4.2 camera. So I download the camera apk and Google gallery. Apk and put in system.app the gallery shows up but not the camera. The gallery crash very often. I cannot make the camera shows up. Every time I turn on the phone it appears "Android update". I don't have a recovery.
View 8 Replies
View Related
Apr 16, 2010
I am implementing GTalk sample application by refering some book But they mentioned the following imports import
com.google.android.gtalkservice.IGTalkSession; import com.google.android.gtalkservice.IGTalkService; import com.google.android.gtalkservice.GTalkServiceConstants; import com.google.android.gtalkservice.IChatSession;
But when i am importing it is giving me error the import can't be resolved. I tried those above imports for the following targets 1.1, 1.5, Google api, 1.6.Google api, 2.0, Google api, 2.0.1,Google api, 2.1, Google api No where the above imports found I am unable to import above things.
View 2 Replies
View Related
Oct 13, 2010
anyone here knows of any? maybe with anti hand shake and stuff integrated into it..
View 13 Replies
View Related
Aug 15, 2010
When I take a picture with my Galaxy S it looks great on the phones screen, but when I save it as wallpaper it gets blown up so big that only a small portion of it is visible on the home screen.
View 6 Replies
View Related
Oct 27, 2010
I need to open camera from NDK to enhance the performances and I have search several days in internet. But nothing get help. Does anyone know how to open the camera using NDK?
View 2 Replies
View Related
Oct 29, 2010
I have noticed that if i switch the gpd off the function that allows geotanging in the pictures/ camera also goes off, but if i turn it on it wont turn on the geotags in the camera. How can i fix this? i dont wnat to have the gps on alll the time for when i take a picture have the geo tags.
View 12 Replies
View Related
Oct 26, 2010
How to take a picture using the Camera App and have it NOT appear in the Gallery?
View 7 Replies
View Related
Oct 16, 2010
Is it possible to get a list/cursor of all images taken by the camera? I would like to somehow be notified when the camera takes a picture, ie when the database of images changes. Currently I can use a contentobserver with the MediaStore.Images.Media.External_Content_URI, but that fires off a notification if any photo is added to the SD (ie a photo is download, another app adds one...)...is there any way to do this?
View 3 Replies
View Related
Oct 20, 2010
I have looked everywhere for an answer to this question but have found nothing. I can't seem to find a way to enable geo-tagging on my new Samsung Fascinate phones default camera app. I love this phone but can't seem to find a gps option in the camera settings that I have seen in other Samsung galaxy s settings.I did download camera 360 from the market and it is a cool app and does allow geo-tagging photos but lacks some features that I absolutely love in the default app like panoramas.
View 1 Replies
View Related
May 6, 2009
I need to start the Camera activity from within my application, take a picture, and return the photo URI to another activity. Surely this should be straightforward? But the Camera API sample code doesn't show how to get the URI. I can't find the answer on this forum, either.
View 14 Replies
View Related
Mar 8, 2010
I have an application that calls the android phone's default camera to take photo the following is my code...
View 1 Replies
View Related
Aug 22, 2010
I was curious about whether or not there is a security app that would let me record video while i am gone with my droid, that would have the capability of motion detection or just "always recording." It would be really nice if i could hook it to my computer via my usb cord and record it continuously on my 1 tb hard drive or something in that realm. someone has been snooping around and things are always misplaced or stolen, and I'm worried as to whether or not they have a camera set up in here bugging the room (bunch of freaks.) if i could just catch them it would be great. the room's dead bolt is broken. and I'm not here 70% of the time. If they do have a camera already in the room, i can set it up in a way that they wont notice the camera I've placed. Please help!
View 5 Replies
View Related
Nov 12, 2010
I have a question concerning threads, handlers, loopers, etc. in android: In my application i have to take pictures from the camera preview (not pictures from the camera but rather just a preview frame) every time when the camera gets autofocus. So i want to implement some kind of "scanner". The app continues requesting autofocus and preview frames until the app detects a valid barcode in the picture. To achieve a continuous scanning process the app schould repeatedly request autofocus of the camera. At the moment when the camera got autofocus the next autofocus request should be fired immediately. Do you have any tips for implementig this?
View 2 Replies
View Related
Apr 6, 2009
Is there a decent Video camera app for the G1?
View 3 Replies
View Related
Mar 15, 2010
I have a piece of code to draw a view on camera preview. Code...
View 6 Replies
View Related
Jan 4, 2010
Is there any App that will help take better pictures? I'm tempted to call Verizon up because I think my Camera isn't functioning at all.
I can take a picture of my daughter, in full light, and it comes out blurry as all hell.
View 19 Replies
View Related
Apr 29, 2014
I'm new in application development and currently using Eclipse. how can I interact with Android's camera. I was trying to make an application witch could give you information about something depending on what image it has capture.how can I make my application do this. The images doesn't have to be really retailer, maybe just a color o something like that.
View 1 Replies
View Related
Sep 9, 2010
I saw some application that can use the "system" camera instead of having just a blank camera preview? ie, the camera preview is the same as the default android camera application with full control. how do i access that?
View 3 Replies
View Related