» Home » camera » Page 1
Android emulator doesn't show Front Facing Camera. Camera.getNumberOfCameras() always return 1 which is always Camera.CameraInfo.CAMERA_FACING_BAC
Category : Programming Languages

Following is my emulator AVD details


Name:ics4.0.3
CPU/ABI: ARM(armeabi-v7a)
Path: c:usersmyname.androidavdics4.0.3.avd
Target: Android 4.0.3 (API level 15)
Skin: WVGA800
SD Card:100M
hw.sdCard: yes
hw.lcd.density: 240
**hw.camera.back: emulated**
**hw.camera.front: emulated**
hw.cpu.model: cortex-a8
vm

View Replies


IPhone UIImagepicker with camera showing camera roll thumbnail like default camera app?
Category : Mobile Programming

im working in iphone's camera app, using UIImagePicker to launch the camera.
Everything goes well, just a need to use the default controls showed in the camera app in iphone(little thumbnail from the last pic in camera roll and take photo buttons) and its animation(take and send the picture to the left bottom thumbnail), not default in UIImagePicker (cancel and take photo buttons).
Ho


View Replies


hiding camera controls, but still displaying focus selector, iOS Picker Type Camera
Category : Mobile Programming

I am using cameraOverlayView and some custom buttons to get the functionality that I want from the UIImagePickerControllerSourceTypeCamera. To make it work as expected I had to hide the camera controls. Any way to activate only the focus selector? It's no longer available of course. If I have that I think I have all the functionality that I need.


picker.cameraOverlayView = [[U

View Replies


detect Flash-accessible camera without prompting user for access to camera if one exists
Category : Web Design

From a Flash object, I would like to be able to detect the presence of a webcam that the user might grant access to, without actually asking the user whether they want to grant access. This is to streamline a large application that has extra features if a webcam exists — if there is a webcam, the application will present several dialogs that lead up to the normal cam-security prompt, but


View Replies


Openimaj capture and save video from integrated camera or usb camera to hardisk (java)
Category : Programming Languages

I just installed almost all libraries of openimaj instruction wise from the site: http://sourceforge.net/p/openimaj/wiki/OpenIMAJ%20From%20Source/ libraries are installed and working. I just need a sample code to capture video from webcam and save it to hard disk. For example:


This is the code to turn on the camera and show you video:


import org.openimaj.image.MBFImag

View Replies


I am using android camera,if i click the camera button it will opens,but after taken the picture ,my application has stopped?
Category : Android
public void startCamera() {
Log.d("TDM_CAMERA", "Starting camera on the phone...");
String fileName = "testphoto.jpg";
ContentValues values = new ContentValues();
values.put(MediaStore.Images.Media.TITLE, fileName);
values.put(MediaStore.Images.Media.DESCRIPTION,
"Image capture by camera");
values.put(MediaStore.Images.Media.MIME_TYPE

View Replies


how to paint on live camera using Camera overlay view : issues in code
Category : Mobile Programming

I am trying to make application to draw on live camera. In that I have created a class with xib called PaintView, in which all the paint related functionality is running.


I am adding the paintview to cameraoverlay view. The view is added properly. But when I am touching the screen of device, the application is not able to draw anything, and th


View Replies


android camera intent with external camera app, return to original activity?
Category : Programming Languages

If a user has an external camera app, such as camera+ that is set as their camera default, how do I make sure that after capturing a photo, it will go back to my original application activity?


public void onClick(View v) {
switch (v.getId()){
case R.id.photo_camera_button:
Intent photoIntent = new Intent(android.provid

View Replies


Android small surfaceview with camera preview cause camera sight deformation
Category : Programming Languages

I have a camera preview in a surfaceview. The surfaceview takes only a portion of screen and on top of it there is an imageview. My problem is that surfaceview displays whole camera sight, scaled to fit X and Y, causing camera preview deformation. Is there any way to display center cropped camera sight in surfaceview ?


Thank you


Here's the code I'm using



View Replies


how to use the camera class in android to view what is in front of the camera ..and not click photos
Category : Android

i wnat to make an andoir app in which i want to use the camera ... only to view what is in front of the camera and not to click an image ...what is the code for it..?


View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .