Questions tagged [commonsware-cwac]

Questions about the CommonsWare CWAC series of Android libraries.

Mark Murphy, who helps here at Stack Overflow as CommonsWare, has published the CommonsWare Android Components (CWAC for short).

Questions tagged with should pertain to one (or more) of the CWAC libraries.

398 questions
0
votes
1 answer

Trouble setting up StreamProvider with my application

I am trying to get the StreamProvider to share images in my assets/stamps folder, but am doing something wrong. Sorry for asking such a trivial question. Using the demo as an example this is where I am at. I added this to my android manifest…
user3074140
  • 733
  • 3
  • 13
  • 30
0
votes
1 answer

Android MirroringFrameLayout always calls draw method which consumes cpu

In MirroringFrameLayout, the canvas passed to draw method is hardware accelerated but bmpBackedCanvas is not hardware accelerated. Also it keep on calling draw method using preDrawListener, which forces redraw though nothing is changed on…
nmxprime
  • 1,506
  • 3
  • 25
  • 52
0
votes
1 answer

CWAC-CAM2 confirm image is coarse

Confirm screen show image as coarse. I tested it with Pantech IM model -version is kitkat. How can I display confirmation image as more smoothly? coarse image at confirm screen Intent i=new CameraActivity.IntentBuilder(getActivity()) …
sungyong
  • 2,267
  • 8
  • 38
  • 66
0
votes
1 answer

CWAC-CAM2 how to set resolution for photo?

I am trying to use the cwac-cam2 library to take a picture. I don't know how to set low resolution. Currently the picture taken is at maximum resolution. This is what I tried: Intent i=new CameraActivity.IntentBuilder(getActivity()) …
sungyong
  • 2,267
  • 8
  • 38
  • 66
0
votes
0 answers

Auto focus in cwac-camera not working

I'm using the cwac-camera demo app and the auto focus is not working. when I'm trying to take a picture, I don't see that the camera focuses. I checked the logs and I don't see any warning/error. I tried it on my Nexus 4 and on LG G2. Thank you!
idish
  • 3,190
  • 12
  • 53
  • 85
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
1 answer

Dynamically Adding and Removing tabs using ArrayPagerAdapter

This is a continuation from the question I 1st asked here, Creating a new ArrayPagerAdapter with variety of Fragments. You were dead on about me using the wrong ArrayAdapter I just needed to use the one that has v4 support. I have posted the code…
Blaine
  • 31
  • 6
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

Creating a new ArrayPagerAdapter with variety of Fragments

I am trying to create an ArrayAdapter similar to the sample shown in the readme at this github page https://github.com/commonsguy/cwac-pager. I have a variety of Fragments that I want to pass into an ArrayPagerAdapter instead of just one like in the…
Blaine
  • 31
  • 6
0
votes
0 answers

Could I see some practical uses of the library commonsguy/cwac-richedit?

Could I see some practical uses of the library commonsguy/cwac-richedit? Can we do indenting and Bulleted/Numbered lists?
SadeepDarshana
  • 1,057
  • 18
  • 34
0
votes
0 answers

After use cwac-cam2 library, I can't install my app from Play Store in Nexux 7

I have added the cwac-cam2 library to my project and I uploaded it in the play store. All seems to be good, but when I look my app in the play store from a nexus 7, the app says that isn't compatible with my device. Have you ever had a similar…
Augusto Pinto
  • 53
  • 1
  • 8
0
votes
1 answer

migrate CWAC-camera to CWAC-cam2

I have implemented the cameraview (import com.commonsware.cwac.camera.CameraView) with CWAC-camera, I want to switch to using CWAC-Cam2, as I do to make this migration, I no longer find the CameraHost or CameraHostProvider. As I can use the camera…
0
votes
0 answers

how to use the camera-cam camera refresh CWAC

Friends, two questions 1) As i can have refresh my camera to show me the front after applying the builder.useFrontFacingCamera (true); in CWAC-cam (switch back-facing cam)(Note: I mean the first version of CWAC-cam not of CWAC-CAM2) 2) As I can…