Questions tagged [cwac-camera]

cwac-camera is a discontinued and deprecated library to take pictures with Android’s Camera API.

As of December 2014, cwac-camera (by user commonsware) is discontinued and deprecated.

Taking pictures or videos using a third-party app is fairly straightforward, using ACTION_IMAGE_CAPTURE or ACTION_VIDEO_CAPTURE. However, you as the developer have little control over what happens with the image or video, other than indicating where the result gets stored. Plus, different camera apps have slightly different behavior, meaning that you are prone to getting inconsistent results.

https://github.com/commonsguy/cwac-camera

41 questions
0
votes
0 answers

can't stop rec video

I can't reproduce this bug consistently, but sometimes, when I try to take a video with the library, I just can't press stop. The button UI reacts but nothing happends, no logs, nothing. All I can say is when I got this bug, if I finish the activity…
Renaud Favier
  • 1,645
  • 1
  • 17
  • 33
0
votes
0 answers

Cwac Camera Video PreviewFragment

I am implementing Cwac-camera for video recording within my application. I am trying to figure out how can I setup my Video Preview Fragment which will playback the Video Recorded within the fragment with replay in infinite until the user has…
Sagar Atalatti
  • 486
  • 1
  • 8
  • 21
0
votes
1 answer

Android CWAC Camera - Return true from mirrorFFC does not work for Samsung device(S4)

I am using the CWAC camera within my app. The mirrorFFC set to true in my custom camera host class, is working fine with my Xiaomi Redmi2 i.e it correctly mirrors the image. However when I sent a build to a friend who has the Samsung S4, the image…
Rohan
  • 593
  • 7
  • 22
0
votes
1 answer

Android Studio cwac-camera CameraFragment java.lang.LinkageError

I am having a head-banging issue... I started android developing again, after 2 years pause and moved to Android Studio. I am making a simple camera app to take a single photo.. after facing enormous issues with the preview size, orientation and…
iganev
  • 124
  • 1
  • 5
0
votes
0 answers

Android CWAC Camera - Incorrect image rotation on pausing,resuming the app

I am using the android CWAC lib as part of the camera implementation within my app. It is working really well, however I discovered an issue with the image preview. Whenever I capture an image, I display it full screen within the same fragment, it…
Rohan
  • 593
  • 7
  • 22
0
votes
1 answer

Android CWAC Camera : Image from front facing camera always mirrored

I am using CWAC's camera in an app. Although the demo app seems to work the way I need it to - i.e the image from the front facing camera is not mirrored if I return true from mirrorFFC() in DemoCameraHost. @Override public…
Rohan
  • 593
  • 7
  • 22
0
votes
1 answer

CWAC camera autofocus() and flashmodes issue

I am using a Xiaomi RedMi running Android 4.4.4. I am using the demo project as a reference for my DemoCameraFragment. When the camera starts up the first time, isAutofocusAvailable() returns false. After taking the first pic in SingleShotMode, I…
Rohan
  • 593
  • 7
  • 22
0
votes
1 answer

Android CWAC-Camera issue on new CameraFragment().takePicture();

I am trying to use CWAC-Camera library for a project that require the addition of some features to a camera... add some buttons on the UI etc... Actually I am testing whit that library... The problem is that I am able to see the preview and rotate…
Noel Carcases
  • 711
  • 1
  • 7
  • 27
0
votes
1 answer

CWAC-Camera, camera preview too small

I'm crap at english, hope it's okay. I'm working on CWAC-camera, and there is an issue I don't understand. I'm trying to take a picture with CWAC-camera and then displays it in a "gallery-like" activity. The thing is, the "range"(?) of my camera…
0
votes
0 answers

CWAC-camera exception "Method called after release()" after exiting

Firstly, I'm crap at English. I'm working on a project which uses Android camera. My team is using CWAC-camera, so does my project. So far I think it's really good. I'm displaying the preview of my camera. The thing is, when I try to close the…
0
votes
1 answer

CWAC CAMERA-switching Front-Back camera not working

I have integrated [CWAC-CAMERA][1].I am trying to switch between back and front camera by clicking on the button using the below code but its not working.I can see only the default back camera.Where am I going wrong? private boolean…
user4738063
0
votes
1 answer

Performing an action after user has captured an image

I want to perform an action after user has captured an image.But i see nothing happens after I captured an image.I am using below code and CWAC-Camera library.Content written inside onPictureTaken is the action which i want to perform after user…
user4738063
0
votes
1 answer

How to correctly subclass SimpleCameraHost for use in caac-camera?

This is the full error that I am getting when trying my current method. 05-28 09:33:13.022 8163-8163/? E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: com.snappiesticker.cwac4, PID: 8163 java.lang.RuntimeException: Unable to start…
BigBoy1337
  • 4,735
  • 16
  • 70
  • 138
0
votes
1 answer

camera preview not working(CWAC-Camera library)

I am new to android stuff and want to work with camera stuff so I am trying to hands on with CWAC camera library.I am using simple camerafragment which would show fullscreen camera preview.But camera preview is invisible.Can anyone suggest what…
0
votes
1 answer

CWAC - do not capture image when flash mode is ON on s5

I am using CWAC camera lib to capture images. Camera does not capture image when flash mode set as ON setFlashMode(Parameters.FLASH_MODE_ON); on s5. I have also tried this using demo provided with library.Just flash appears and nothing happens. For…
Babasaheb
  • 683
  • 6
  • 20