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
2
votes
1 answer

How to show All list items in child ListView-using cwac-merge-1.0.4 jar

I am using two ListView in same screen,Because of using two Listviews likely Parent ListView and Child ListView,that Child ListView Adapter class doesn't show all List Values in Child ListView.It showed only 0 th(first) position in Child…
Jamal
  • 976
  • 2
  • 14
  • 39
2
votes
1 answer

How to mirror a fragment to a presentation in Android?

My title is maybe a joke for those who know well the subject but I prefer ask you to learn. So my goal is to display ONE specific fragment in an external display when I connect the device. Obviously I found the nice projet cwac-presentation from…
azn0viet
  • 140
  • 1
  • 1
  • 9
2
votes
1 answer

Is it possible to adjust exposure in cwac-camera when in Preview mode?

I'm playing with cwac-camera and it's a great library. I need to know if I can adjust the exposure compensation at real time when in preview mode. E.g.: is it possible to use the SeekBar in the CameraFragment demo to modify exposure instead of zoom…
ZipGenius
  • 142
  • 9
2
votes
1 answer

CWAC Camera - continuous auto focus

Using the CWAC-Camera library, I have created a fragment extending the CameraFragment. I've added an OnClickListener which calls autofocus() whenever the screen is tapped. However, when I start recording a video, I would like to use some form of…
user3014924
  • 153
  • 4
2
votes
1 answer

Genymotion + CWAC Camera

Has anyone gotten the CWAC Camera (https://github.com/commonsguy/cwac-camera) to work with a Genymotion emulator (http://www.genymotion.com/)? I can't get the preview to actually start. It works fine on a regular device. Would be awesome if I could…
loeschg
  • 29,961
  • 26
  • 97
  • 150
2
votes
2 answers

CWAC camera JAR's Dalvik problems

I'm using the commonsguy cwac-camera library via JARs: - cwac-camera-v9-0.6.9.jar and also I use cwac-camera-0.6.9.jar. When I try to start CameraActivity I get next errors: 08-20 23:12:21.421: E/dalvikvm(1841): Could not find class…
eJoe
  • 485
  • 1
  • 7
  • 18
2
votes
2 answers

Is there any way to listen for when the camera has loaded in? cwac-camera

I've got my CWAC Camera fragment setup, and everything is working nicely. There's a few customizations I'd like to do. I'd like to show a ProgressBar as the camera fragment is loading into it's host Activity/Fragment After a user has taken a…
Ryan Simon
  • 345
  • 2
  • 13
2
votes
0 answers

CWAC Camera - Full-Bleed No-Stretched Preview

I want to get a full-bleed and no-stretched preview with the CWAC library. I have tested the demo app from the git repository on a Nexus 7 (2013) with Android 4.4.4, and the preview is stretched.I did not succeed to configure the SimpleCameraHost to…
Matthias
  • 21
  • 2
2
votes
1 answer

CWAC camera library out of memory

I am getting an out of memory trying to take a picture with the CWAC library in android. I am just using a button in the main activity and creating the fragment on the fly. The preview will come up fine. But when i click the take picture it will…
user2130951
  • 2,601
  • 4
  • 31
  • 58
2
votes
1 answer

Problems with TouchListView and Drag and Drop?

I created an application this application contain listview , and I want to remove items one by one by sliding to right or left , and here my code :
Shanaz K
  • 678
  • 2
  • 13
  • 28
2
votes
1 answer

CWAC camera flash not working

I use setFlashMode() in CameraFragment to set flash modes. However, flash works only when using autofocus, but now when calling takePicture() method. Can anyone shed some light on this? Thank you.
Sinisa
  • 240
  • 3
  • 14
2
votes
0 answers

mapping preview image coordinates to final image coordinates

I am using the CommonsWare CWAC-Camera library (https://github.com/commonsguy/cwac-camera) to wrap the native Android Camera API. I would like to allow the user to select a point on the preview image before taking a picture, then (accurately) pick…
eshayne
  • 915
  • 9
  • 15
2
votes
0 answers

Cwacs-camera photos are mirrored no matter what mirrorFFC is set to

I'm having a strange problem with CommonsWare's cwac-camera library. Images taken by the front camera are always mirrored (i.e. mirror of what I see in the preview) despite setting: builder.mirrorFFC(true); I have confirmed that this setting is…
2
votes
1 answer

insert into sqlite from intentservice using sqlitecursorloader

I am using the sqlitecursorloader lib from commonsware. I receive GCM messages in an Intentservice and would like to insert an entry into the sqlite database. It should update the listview if the app is open. I tried using this in the activity…
user938541
2
votes
1 answer

MergeAdapter with OnClickItemListener

I'm using MergeAdapter by CommonsWare to merge two ListViews. Note that, both listviews have its own Model. Everything goes well except when I want to click an item from the merged Listview, I can't seem to get the correct data represented their…
emen
  • 6,050
  • 11
  • 57
  • 94