Android :: How To Call Camera From Own Application?

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?

Android :: How to Call Camera from Own Application?


Android :: How To Call Inbuilt Camera Application?

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

HTC Hero :: Camera Not Working - Message The Application Camera Process Com.android.camera Has Stopped Unexpectedly Please Try Again

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

Android :: Camera Without Preview / Need To Use Ipc And Bindservice To Call

Mar 5, 2010

I am writing an android 1.5 application which starts just after boot-up. This is a service and should take a picture without preview. This app will log the light density in some areas whatever. I was able to take a picture but the picture was black.

After googling like crazy, i came across a bug thread about it. If you don't generate a preview, the image will be black since android camera needs preview to setup exposure and focus. I've created a surfaceview and listener but the onSurfaceCreated event never gets fired.

I guess the reason is, the surface is not being created visually. I've also seen some examples of calling the camera statically with MediaStore.CAPTURE_OR_SOMETHING which takes a picture and saves in the desired folder with two lines of code but it doesn't take a picture too.

Do i need to use ipc and bindservice to call this function or do you have any suggestion to achieve my goal (taking a picture without preview) and if so, would you give me a small piece of code as example?

View 2 Replies View Related

Android : Call Application API Inside An Application

Nov 5, 2010

I have downloaded a file manager application called "AndExplorer" inside my Android emulator.
My goal is to call this application inside my current custom application.

View 1 Replies View Related

Android :: Android Application Be Launched From Built-in Phone Call Log Application

Feb 21, 2010

I would like to know if it is possible to launch my application whenever a new entry is written to phone call log (i.e. out-going, in-coming or missed call). I wrote an application to manage the call log entries as per user preferences by listening to the publication of android.intent.action.PHONE_STATE events. My application is working fine as long as its process is running. However if the user has stopped my application with a task-killer application, then the log entries can not be managed as my app itself was not running. I need a way to make sure that my application is launched in the background if it is not already running when the android.intent.action.PHONE_STATE occurs. Or is it possible to launch my application as a service that always runs?

View 2 Replies View Related

Motorola Droid :: Call Quality - Camera - Screen - GPS

Apr 5, 2010

I am hard to impress and this device really impresses me. No bugs or issues yet that I haven't been able to fix. Camera works great. Screen is beautiful. Everything is solid. Call quality is great. Signal is rock solid (better, in fact, than my old LG, which was itself good). GPS is crazy accurate (can tell which couch I'm sitting on within the same room).

Motorola, Google, and Verizon is a team that's hard to match if the owner is ready to invest the time in setting up the device properly.

View 17 Replies View Related

Android :: Any Application To Disable Camera

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

Android :: Camera Application Not Working

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

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 View Related

Android :: How To Activate Camera From My Application?

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

Android :: How To Use Camera Application Without SD Card?

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

Android :: Using Camera To Take Pictures From My Application

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

Android :: Compile Camera Application For SDK 1.6

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

Android :: Camera Zoom FX Application?

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

HTC Desire :: Build / Call / Camera Flash / Sound Quality?

Nov 9, 2010

How is the Build Quality? Call Quality? I had problems with the N1 and low Call Quality. Camera/Flash Quality? How is it with 2.2? Very Fast? You think it will get above 2.3? (even by custom roms?)Music/Sound Quality? Loudness? You can change the LED light? Like on the X10 and N1 (trackball) to red, blue, purple, green, blue etc? If you have used the N1, which do you like better? And why?

View 9 Replies View Related

Android :: Write An Application For Holding Camera

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

Android :: UI Window In Camera Preview Application

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

Android :: Best Way To Store Application Images Taken Via Camera

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

Android :: Camera Application Preview Crashes

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

Android :: Camera Flash In 1.5 And 1.6 - Application Crashes

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

Android :: Application For Using Camera Flash For Notifications?

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

Android :: Where Is Macro In Vignette Camera Application?

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

Android :: Speed Camera Application And Google Navigation

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

Android :: Opening Camera Application And Function As Normal?

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

Android :: Cropping In Camera Application And Photo Location

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

Android :: Camera Application - Capturing Image Automatically

Mar 26, 2009

I worked on N95 mobile, my goal is to capture image for every 2 min and send the image data to server without user help. I am done with image capturing manually but I am unable to capture image automatically could you please suggest me. I am getting certification message pop up. Is there any way to start my application automatically. I am messed with code signature and manufacturer agreement with Nokia. So I have decided to change the platform to Android mobiles. Could you please let me can I able to implement the above application in android mobiles android platform.

View 9 Replies View Related

Android :: Source Code Of Sample Camera Application?

Apr 2, 2010

I want a sample application for camera in android. If anybody developed any application please share with me along with source code.

View 1 Replies View Related

Android :: Camera Preview Application - Buffer Allocation?

Nov 21, 2009

I have some questions regarding the code below for camera preview application.

1. How does surfaceCreated() and CreateSurface() relate? Is this surface created via createSurface() from SurfaceFlinger client to SurfaceFlinger server? If so, there must be 2 buffers (frame buffers from display driver if there is how acceleration or if it is the emulator, it will be from ashmem) associated with this surface: surface BB (for composition) and surface FB (for display).

2. How does the rendering buffer (frame buffer BB and frame buffer FB) get allocated in the camera preview application? Are they allocated by the application?

3. How does this surface relate to the preview buffers? Are the preview buffers allocated by the Camera Service during startPreview?

private class CameraSurfaceView extends SurfaceView implements SurfaceHolder.Callback {
private SurfaceHolder mHolder; private Camera camera = null;
public CameraSurfaceView(Context context) { super(context);
mHolder = getHolder(); mHolder.addCallback(this);
mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
} public void surfaceCreated(SurfaceHolder holder) {
camera = Camera.open(); try {
camera.setPreviewDisplay(mHolder);
} catch (Exception e) { Log.e("Camera", "Failed to set camera preview display", e);
} } }

View 2 Replies View Related

Android :: Camera Application Not Working When Tested On Phone

Aug 18, 2010

Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine the Java stack trace associated with your error.

[Quote]

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved